Crate signcryption
source ·Structs
- A signcryption keypair used to sign, verify and encrypt messages.
- Data structure containing the ciphertext, signature and additional data
- Used to hold intermediate values during the signcryption process.
Enums
- The curve used, variants are Ristretto255 or Edwards25519. Ristretto255 is recommended and the default variant.
- Signcryption failure modes
Constants
- Tag length
- Length of the public key
- Length of the secret key
- Length of the seed for keypair creation
- Length of the generated shared secret
- Length of the resulting signature
Functions
- Convenience function for
verify_before
- Convenience function for
verify_before
- Signing after encryption
- Message signing before encryption
- Signs and encrypts a Message
- Verifies and decrypts a
SignCrypt
struct - Message verification after decryption
- Message verification before decryption
- Verifies the data was signed by a specific sender to a receiver without enabling the ability to decrypt the ciphertext