Salsa20

Constructors

Link copied to clipboard
constructor(key: ByteArray)

Functions

Link copied to clipboard
open override fun getSalt(length: Int): ByteArray

Get salt using underlying algorithm and advance the counter.

Link copied to clipboard
open override fun processBytes(input: ByteArray): ByteArray

Encrypt/decrypt input with salt supplied by underlying algorithm and advance the counter.