Data encryption using Salsa20.
Default key size to use for KeyGenerator.
IV/nonce length.
Concatenate the encryption details from a Map data.
Decrypts encrypted data in a Map format.
Decrypts encrypted data using key.
Decrypts encrypted data using key and optional iv.
Encrypts the provided data using the provided key.
Extracts the iv, data from a ByteArray data.
iv
data
Generate IV based on ivLength.
Generate secret key based on optional key size.