Skip to content

ed25519SigningKeyFromWrappedSecret

const ed25519SigningKeyFromWrappedSecret: (wrapUnwrap) => Promise<Ed25519SigningKey> = nobleEd25519SigningKeyFromWrappedSecret

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

Creates an ed25519 signing key from a wrapped secret using the default ed25519 implementation (currently @noble/ed25519). The implementation may change in the future. To explicitly use the @noble/ed25519 implementation, use nobleEd25519SigningKeyFromWrappedSecret.

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

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.

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

A promise that resolves to an ed25519 signing key with public key and raw signer.