decryptSecretBox

Wrapper around crypto_secretbox_open_easy. Decrypts a cipher using a nonce and key and returns the decrypted message. If decryption fails, null is returned.

ubyte[]
decryptSecretBox
(
in ubyte[] cipher
,,)

Meta