Module sodiumoxide::crypto::stream::xchacha20
[−]
[src]
xchacha20
. The same construction as xsalsa20
but using
chacha20
instead of salsa20
as the underlying stream cipher.
This cipher is conjectured to meet the standard notion of
unpredictability.
Structs
Key |
|
Nonce |
|
Constants
KEYBYTES |
Number of bytes in a |
NONCEBYTES |
Number of bytes in a |
Functions
gen_key |
|
gen_nonce |
|
stream |
|
stream_xor |
|
stream_xor_ic |
|
stream_xor_ic_inplace |
|
stream_xor_inplace |
|