XSalsa20Poly1305Codec

Constructors

Link copied to clipboard
constructor(key: ByteArray)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun decrypt(box: ByteArray, boxOffset: Int = 0, boxLength: Int = box.size, nonce: ByteArray, output: MutableByteArrayCursor): Boolean
Link copied to clipboard
fun XSalsa20Poly1305Codec.decrypt(box: ByteArray, boxOffset: Int = 0, boxLength: Int = box.size, nonce: ByteArray): ByteArray?
Link copied to clipboard
fun encrypt(message: ByteArray, mOffset: Int = 0, mLength: Int = message.size, nonce: ByteArray, output: MutableByteArrayCursor): Boolean
Link copied to clipboard
fun XSalsa20Poly1305Codec.encrypt(message: ByteArray, mOffset: Int = 0, mLength: Int = message.size, nonce: ByteArray): ByteArray?