Moved tests to paramecio root
This commit is contained in:
parent
c50629e2c7
commit
a04a9e1e86
14 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,8 @@ from hashlib import sha512, sha256
|
|||
from base64 import b64encode
|
||||
from os import urandom
|
||||
|
||||
# Functions for create random strings usando urandom
|
||||
|
||||
def create_key_encrypt(n=10):
|
||||
|
||||
return sha512(urandom(n)).hexdigest()
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 546 KiB After Width: | Height: | Size: 546 KiB |
Loading…
Add table
Add a link
Reference in a new issue