Skip to content

nobleEd25519SigningKeyFromWrappedSecret

nobleEd25519SigningKeyFromWrappedSecret(wrapUnwrap): Promise<Ed25519SigningKey>

Defined in: packages/crypto/src/index.ts:90

Creates an Ed25519 signing key from a wrapped secret using the @noble/ed25519 implementation.

NOTE: This function will zero out the unwrapped secret after the wrap function is called.

WrappedEd25519Secret

The wrapped secret provider that unwraps and re-wraps the Ed25519 secret.

Promise<Ed25519SigningKey>

A promise that resolves to an Ed25519 signing key containing the public key and raw signer.