CryptoKey
class CryptoKey
libsodium wrapper class for keys
Constants
| FAST_OPS |
|
| FAST_MEMORY |
|
Methods
static string
GenerateSalt()
Generates a salt for use with DeriveKey()
static string
DeriveKey(string $password, string $salt, int $bytes, bool $fast = false)
Generates an encryption key from a password
Details
at line 14
static string
GenerateSalt()
Generates a salt for use with DeriveKey()
at line 29
static string
DeriveKey(string $password, string $salt, int $bytes, bool $fast = false)
Generates an encryption key from a password