Variable key

key: {
    privateKeyToBlake160: ((privateKey) => HexString);
    privateToPublic: {
        (privateKey): Buffer;
        (privateKey): HexString;
    };
    publicKeyToBlake160: ((publicKey) => HexString);
    recoverFromSignature: ((message, signature) => HexString);
    signRecoverable: ((message, privateKey) => HexString);
}

Type declaration

  • privateKeyToBlake160: ((privateKey) => HexString)
  • privateToPublic: {
        (privateKey): Buffer;
        (privateKey): HexString;
    }
      • (privateKey): Buffer
      • Parameters

        • privateKey: Buffer

        Returns Buffer

      • (privateKey): HexString
      • Parameters

        • privateKey: string

        Returns HexString

  • publicKeyToBlake160: ((publicKey) => HexString)
  • recoverFromSignature: ((message, signature) => HexString)
      • (message, signature): HexString
      • Parameters

        • message: string
        • signature: string

        Returns HexString

  • signRecoverable: ((message, privateKey) => HexString)
      • (message, privateKey): HexString
      • Parameters

        • message: string
        • privateKey: string

        Returns HexString

Generated using TypeDoc