Module 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§

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

Type Aliases§

PublicKey
Stack-allocated public key type alias.
SecretKey
Stack-allocated secret key type alias.
StackKeyPair
Stack-allocated key pair type alias.