Module dryoc::classic::crypto_core
source · Expand description
Functions
- Implements the HChaCha20 function.
- Implements the HSalsa20 function.
- Computes a shared secret
q
, givenn
, our secret key, andp
, their public key, using a Diffie-Hellman key exchange. - Computes the public key for a previously generated secret key.
Type Aliases
- Stack-allocated HChaCha20 input.
- Stack-allocated HChaCha20 key.
- Stack-allocated HChaCha20 output.
- Stack-allocated HSalsa20 input.
- Stack-allocated HSalsa20 key.
- Stack-allocated HSalsa20 output.