Module dryoc::keypair

source ·
Expand description

Public/secret keypair tools

Provides an implementation for handling public/private keypairs based on libsodium’s crypto_box, which uses X25519.

Refer to the protected mod for details on usage with protected memory.

Modules

protectednightly
Protected memory for KeyPair

Structs

Public/private keypair for use with crate::dryocbox::DryocBox, aka libsodium box

Type Definitions

Stack-allocated public key type alias.
Stack-allocated secret key type alias.
Stack-allocated key pair type alias.