rsa_legacy library
RSA algorithms only legacy protocols should use: SHA-1, and moduli below
2048 bits for verification. Import it as rsa beside
package:rind/rsa.dart.
Constants
- oaepSha1 → const OaepAlgorithm
- RSA-OAEP with SHA-1, for protocols that still require it.
- pkcs1Min1024Sha1 → const VerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-1, for old keys of 1024 bits or more.
- pkcs1Min1024Sha256 → const VerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-256, for old keys of 1024 bits or more.
- pkcs1Min1024Sha512 → const VerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-512, for old keys of 1024 bits or more.
- pkcs1Min3072Sha384 → const VerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-384, for keys of 3072 bits or more only.
- pkcs1Sha1 → const VerificationAlgorithm
- RSASSA-PKCS1-v1_5 with SHA-1, for old signatures.