legacy library
Algorithms only legacy protocols and formats should use: SHA-1 and MD5, and RSA moduli below 2048 bits for verification.
Constants
- digestMd5 → const DigestAlgorithm
- MD5, which only legacy protocols should use.
- digestSha1 → const DigestAlgorithm
- SHA-1, which only legacy protocols should use.
- hkdfSha1 → const HkdfAlgorithm
- HKDF-SHA1, which only legacy protocols should use.
- hmacSha1 → const HmacAlgorithm
- HMAC-SHA1, which only legacy protocols should use.
- oaepSha1 → const OaepAlgorithm
- RSA-OAEP with SHA-1, for protocols that still require it.
- pbkdf2HmacSha1 → const Pbkdf2Algorithm
- PBKDF2 with HMAC-SHA1, which only legacy formats should use.
- rsaPkcs1Min1024Sha1 → const RsaVerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-1, for old keys of 1024 bits or more.
- rsaPkcs1Min1024Sha256 → const RsaVerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-256, for old keys of 1024 bits or more.
- rsaPkcs1Min1024Sha512 → const RsaVerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-512, for old keys of 1024 bits or more.
- rsaPkcs1Min3072Sha384 → const RsaVerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-384, for keys of 3072 bits or more only.
- rsaPkcs1Sha1 → const RsaVerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-1, for old signatures.