Cryptographic algorithm supported by prism.
| 7 | #[serde(rename_all = "lowercase")] |
| 8 | /// Cryptographic algorithm supported by prism. |
| 9 | pub enum CryptoAlgorithm { |
| 10 | /// Edwards-curve Digital Signature Algorithm (EdDSA) using SHA-512 and Curve25519 |
| 11 | Ed25519, |
| 12 | /// ECDSA signatures using the secp256k1 curve (used in Bitcoin/Ethereum) |
| 13 | Secp256k1, |
| 14 | /// ECDSA signatures using the NIST P-256 curve, also known as prime256v1 |
| 15 | Secp256r1, |
| 16 | /// Signatures according to ethereum's EIP-191 |
| 17 | Eip191, |
| 18 | /// Signatures according to Cosmos' ADR-36 |
| 19 | CosmosAdr36, |
| 20 | } |
| 21 | |
| 22 | impl CryptoAlgorithm { |
| 23 | /// Returns a vector containing all variants of `CryptoAlgorithm`. |
nothing calls this directly
no outgoing calls
no test coverage detected