[−][src]Module koibumi_core::crypto
Provides methods to encrypt/decrypt Bitmessage messages.
Structs
Encrypted | A encrypted message. |
PrivateKey | A private key. |
PublicKey | A public key. |
Signature | A signature. |
TooShortError | This error indicates that the provided length was shorter than the minimum. |
Enums
DecryptError | This error indicates that the decryption failed. |
SignError | This error indicates that the signing failed. |
VerifyError | This error indicates that the verification failed. |
Functions
sign | Signs on data using a private key. |
verify | Verifies a signature of data using a public key. |