CryptoBoxSecretKey

Create a random secret key.

Return

*non-null* pointer to Secret Key.


open fun CryptoBoxSecretKey(data: Array<Byte>)

Create a `crypto_box` secret key with the given block of data.

Return

Nullable pointer to Secret Key.

Parameters

data

*non-null* byte array. Expected to have 32 bytes.