Module solana_zk_token_sdk::encryption
source · [−]Expand description
Collection of encryption-related data structures and algorithms used in the Solana zk-token protocol.
The module contains implementations of the following cryptographic objects:
- Pedersen commitments that uses the prime-order Ristretto representation of Curve25519. curve25519-dalek is used for the Ristretto group implementation.
- The twisted ElGamal scheme, which converts Pedersen commitments into a public-key encryption scheme.
- Basic type-wrapper around the AES-GCM-SIV symmetric authenticated encryption scheme implemented by aes-gcm-siv crate.
Modules
The twisted ElGamal encryption implementation.
Pedersen commitment implementation using the Ristretto prime-order group.