function · Browser and Node
seedSigner
An Ed25519 signer from a 32-byte seed.
@toip-tools/coseView sourceimport { seedSigner } from "@toip-tools/cose";
Declaration
seedSigner(seed: Uint8Array, kid: Uint8Array, alg?: -19 | -8): AsyncSigner;
Parameters
seedrequiredUint8Array<ArrayBufferLike>kidrequiredUint8Array<ArrayBufferLike>algoptional-19 | -8Default:
-19