Module dryoc::classic::crypto_core

source ·
Expand description

Functions

Implements the HChaCha20 function.
Implements the HSalsa20 function.
Computes a shared secret q, given n, our secret key, and p, their public key, using a Diffie-Hellman key exchange.
Computes the public key for a previously generated secret key.

Type Definitions

Stack-allocated HChaCha20 input.
Stack-allocated HChaCha20 key.
Stack-allocated HChaCha20 output.
Stack-allocated HSalsa20 input.
Stack-allocated HSalsa20 key.
Stack-allocated HSalsa20 output.