Function isValidKeypair

  • Check key pair for validity

    Signs a message, and then verifies that signature

    Parameters

    • privateKey: string | Uint8Array

      Private key to verify

    • publicKey: string | Uint8Array

      Public key to verify as hex string

    Returns boolean

    Valid?

Generated using TypeDoc