Function pq25WordMnemonicToSeed

  • pq25WordMnemonicToSeed derives a post-quantum key seed from a standard 25-word Algorand mnemonic.

    The seed is domain-separated by the PQ scheme, so the same mnemonic yields a different key for each scheme, and a different key again from the ed25519 account that mnemonicToSecretKey derives from it.

    Parameters

    • mn: string

      A 25-word Algorand mnemonic

    • scheme: Uint8Array

      The 2-byte ASCII PQ scheme identifier (e.g. "f1" for Falcon-1024)

    Returns Uint8Array

    The 32-byte seed to hand to the scheme's key generator

Generated using TypeDoc