[−][src]Module cryptohelpers::rsa
RSA related thingies
Structs
RsaPrivateKey | Container for the private & public parts of an RSA key |
RsaPublicKey | Container for RSA public key components |
Signature | Represents an RSA signature |
Enums
BinaryErrorKind | Binary error reason |
Error | Represents an error for RSA operations |
Traits
HasComponents | |
HasPrivateComponents | |
HasPublicComponents | |
PrivateKey | A trait for containers that contain private and public keys |
PublicKey | A trait for containers that contain public keys |
Functions
decrypt | Decrypt a stream |
decrypt_slice | Decrypt slice |
decrypt_slice_sync | Decrypt slice |
decrypt_slice_to_vec | Decrypt a slice |
decrypt_sync | Decrypt a stream |
encrypt | Encrypt a stream |
encrypt_slice | Encrypt a slice |
encrypt_slice_sync | Encrypt a slice |
encrypt_slice_to_vec | Encrypt a slice |
encrypt_sync | Encrypt a stream |
sign | Compute the signature for this stream, returning it and the number of bytes read |
sign_slice | Compute the signature for a slice of bytes |
sign_sync | Compute the signature for this stream, returning it and the number of bytes read |