dcrypto ~master
Dub
Repo
keyFromSecret
dcrypto
key
Build and return a key based on secret data using the specified salt
Key
keyFromSecret
(
string
data
,
int
rounds
=
200
,
int
keyLength
=
EVP_MAX_KEY_LENGTH
,
int
ivLength
=
EVP_MAX_IV_LENGTH
)
Key
keyFromSecret
(
string
data
,
string
salt
,
int
rounds
=
200
,
int
keyLength
=
EVP_MAX_KEY_LENGTH
,
int
ivLength
=
EVP_MAX_IV_LENGTH
)
Key
keyFromSecret
(
string
data
,
string
salt
,
int
rounds
= 200
,
int
keyLength
=
EVP_MAX_KEY_LENGTH
,
int
ivLength
=
EVP_MAX_IV_LENGTH
)
Meta
Source
See Implementation
dcrypto
key
functions
keyFromSecret
structs
Key
Build and return a key based on secret data using the specified salt