My Project
Loading...
Searching...
No Matches
Functions
|
Variables
pbkdf_pkcs12 Namespace Reference
Functions
to_c_byte_array
(content)
Variables
int
PASSWORD_LENGTH
= 16
int
SALT_LENGTH
= 8
int
KEY_LENGTH
= 16
int
ITERATIONS
= 256
int
SHA256
= 2
str
password
= ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(PASSWORD_LENGTH))
salt
= os.urandom(SALT_LENGTH)
key
= wolfssl.byteArray(KEY_LENGTH)
Detailed Description
A simple example how to use PBKDF PKCS #12 algorithm.