Module askar_crypto::alg::x25519[][src]

This is supported on crate feature ed25519 only.
Expand description

X25519 key exchange support on Curve25519

Structs

X25519KeyPair

An X25519 public key or keypair

Constants

KEYPAIR_LENGTH

The length of a keypair in bytes

PUBLIC_KEY_LENGTH

The length of a public key in bytes

SECRET_KEY_LENGTH

The length of a secret key in bytes

Statics

JWK_CURVE

The ‘crv’ value of an X25519 JWK

JWK_KEY_TYPE

The ‘kty’ value of an X25519 JWK