Module askar_crypto::alg::k256 [−][src]
This is supported on crate feature
k256
only.Expand description
Elliptic curve ECDH and ECDSA support on curve secp256k1
Structs
K256KeyPair | A K-256 (secp256k1) public key or keypair |
Constants
ES256K_SIGNATURE_LENGTH | The length of an ES256K signature |
KEYPAIR_LENGTH | The length of a keypair in bytes |
PUBLIC_KEY_LENGTH | The length of a compressed public key in bytes |
SECRET_KEY_LENGTH | The length of a secret key |
Statics
JWK_CURVE | The ‘crv’ value of a K-256 key JWK |
JWK_KEY_TYPE | The ‘kty’ value of an elliptic curve key JWK |