cryptononce

0.1.4 • Public • Published

CryptoNonce

Babbage nonce creation and verification!

API

Table of Contents

createNonce

Creates a nonce derived from a privateKey

Parameters

  • privateKey string Private key to derive the nonce from.

Returns Buffer a random nonce derived from the provided private key.

verifyNonce

Verifies a nonce derived from a privateKey

Parameters

  • nonce string a nonce to verify as a as a base64 string.
  • privateKey string a privateKey as a hex string used to derive the nonce.

Returns Boolean the status of the validation

License

The license for the code in this repository is the Open BSV License.

Readme

Keywords

none

Package Sidebar

Install

npm i cryptononce

Weekly Downloads

6

Version

0.1.4

License

Open BSV License

Unpacked Size

6.35 kB

Total Files

7

Last publish

Collaborators

  • tonesnotes
  • braydude
  • tyeverett