Module hina::crypto [−][src]
Structs
Ed25519KeyPair | |
Hash | |
IncrementalHash | |
Signature | |
SignatureError |
Enums
HashAlgorithm |
Statics
ECDSA_P256_SHA384_ASN1 |
Not recommended. Verification of ASN.1 DER-encoded ECDSA signatures using the P-256 curve and SHA-384. |
ECDSA_P384_SHA256_ASN1 |
Not recommended. Verification of ASN.1 DER-encoded ECDSA signatures using the P-384 curve and SHA-256. |
ECDSA_P384_SHA384_ASN1 |
Verification of ASN.1 DER-encoded ECDSA signatures using the P-384 curve and SHA-384. |
ECDSA_P384_SHA384_FIXED |
Verification of fixed-length (PKCS#11 style) ECDSA signatures using the P-384 curve and SHA-384. |
ED25519 |
Verification of Ed25519 signatures. |
RSA_PKCS1_2048_8192_SHA1 |
Verification of signatures using RSA keys of 2048-8192 bits, PKCS#1.5 padding, and SHA-1. |
RSA_PKCS1_2048_8192_SHA256 |
Verification of signatures using RSA keys of 2048-8192 bits, PKCS#1.5 padding, and SHA-256. |
RSA_PKCS1_2048_8192_SHA384 |
Verification of signatures using RSA keys of 2048-8192 bits, PKCS#1.5 padding, and SHA-384. |
RSA_PKCS1_2048_8192_SHA512 |
Verification of signatures using RSA keys of 2048-8192 bits, PKCS#1.5 padding, and SHA-512. |
RSA_PKCS1_3072_8192_SHA384 |
Verification of signatures using RSA keys of 3072-8192 bits, PKCS#1.5 padding, and SHA-384. |
RSA_PKCS1_SHA256 |
PKCS#1 1.5 padding using SHA-256 for RSA signatures. |
RSA_PKCS1_SHA384 |
PKCS#1 1.5 padding using SHA-384 for RSA signatures. |
RSA_PKCS1_SHA512 |
PKCS#1 1.5 padding using SHA-512 for RSA signatures. |
RSA_PSS_2048_8192_SHA256 |
Verification of signatures using RSA keys of 2048-8192 bits, PSS padding, and SHA-256. |
RSA_PSS_2048_8192_SHA384 |
Verification of signatures using RSA keys of 2048-8192 bits, PSS padding, and SHA-384. |
RSA_PSS_2048_8192_SHA512 |
Verification of signatures using RSA keys of 2048-8192 bits, PSS padding, and SHA-512. |
RSA_PSS_SHA256 |
RSA PSS padding using SHA-256 for RSA signatures. |
RSA_PSS_SHA384 |
RSA PSS padding using SHA-384 for RSA signatures. |
RSA_PSS_SHA512 |
RSA PSS padding using SHA-512 for RSA signatures. |
Traits
VerificationAlgorithm |
A signature verification algorithm. |
Functions
hash_read | |
hash_slice | |
sha1_read | |
sha1_slice | |
sha256_read | |
sha256_slice | |
sha384_read | |
sha384_slice | |
sha512_read | |
sha512_slice | |
validate_signature |