Structs§
- Keypair
- A signcryption keypair used to sign, verify and encrypt messages.
- Sign
Crypt - Data structure containing the ciphertext, signature and additional data
- Sign
State - Used to hold intermediate values during the signcryption process.
Enums§
- Curve
- The curve used, variants are Ristretto255 or Edwards25519. Ristretto255 is recommended and the default variant.
- Sign
Crypt Error - Signcryption failure modes
Constants§
- MACBYTES
- Tag length
- PUBLICKEYBYTES
- Length of the public key
- SECRETKEYBYTES
- Length of the secret key
- SEEDBYTES
- Length of the seed for keypair creation
- SHAREDBYTES
- Length of the generated shared secret
- SIGNBYTES
- Length of the resulting signature
Functions§
- ed25519_
verify_ before - Convenience function for
verify_before
- ristretto255_
verify_ before - Convenience function for
verify_before
- sign_
after - Signing after encryption
- sign_
before - Message signing before encryption
- signcrypt
- Signs and encrypts a Message
- unsigncrypt
- Verifies and decrypts a
SignCrypt
struct - verify_
after - Message verification after decryption
- verify_
before - Message verification before decryption
- verify_
public - Verifies the data was signed by a specific sender to a receiver without enabling the ability to decrypt the ciphertext