SodiumCipher
class SodiumCipher implements CipherInterface
JCrypt cipher for sodium algorithm encryption, decryption and key generation.
Methods
generateKey(
array $options = array())
Method to generate a new encryption key object.
void
setNonce(
string $nonce)
Set the nonce to use for encrypting/decrypting messages