ddn.crypto.key.ed25519
Ed25519 Keys.
Types 2
classEd25519PublicKey : PublicKey
classEd25519PrivateKey : PrivateKey
Ed25519 Private Key.
Fields
ubyte[32] seedMethods
Constructors
this(const(ubyte)[] seedBytes)Destructors
Functions 4
fn
ubyte[] encodeEd25519Spki(Ed25519PublicKey key)Encodes an Ed25519 public key as DER SubjectPublicKeyInfo (RFC 8410).fn
Ed25519PublicKey decodeEd25519Spki(const(ubyte)[] der)Decodes an Ed25519 public key from DER SubjectPublicKeyInfo (RFC 8410).fn
ubyte[] encodeEd25519Pkcs8(Ed25519PrivateKey key)Encodes an Ed25519 private key as DER PKCS#8 PrivateKeyInfo (RFC 8410).fn
Ed25519PrivateKey decodeEd25519Pkcs8(const(ubyte)[] der)Decodes an Ed25519 private key from DER PKCS#8 PrivateKeyInfo (RFC 8410).