tern ~master (2024-04-15T17:45:17.8990912)
Dub
Repo
ChaCha20.encrypt
tern
digest
chacha20
ChaCha20
Encrypts the given byte array
data
.
class
ChaCha20
static
void
encrypt
(
ref
ubyte
[]
data
,
string
key
,
ubyte
[12]
nonce
= (
ubyte
[12]).
init
,
uint
counter
= 0
)
Meta
Source
See Implementation
tern
digest
chacha20
ChaCha20
static functions
decrypt
encrypt
Encrypts the given byte array data.