ModeOfOperationCTR

class ModeOfOperationCTR(key: ByteArray, counter: Counter)

Constructors

Link copied to clipboard
constructor(key: ByteArray, counter: Counter)

Functions

Link copied to clipboard
fun decrypt(ciphertext: ByteArray): ByteArray
Link copied to clipboard
fun encrypt(plaintext: ByteArray): ByteArray