Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finprint Crypto Utils

Cryptographic functions for use with the Finprint protocol, built using libsodium.

Setup and Installation

npm install @finprint/crypto-utils

Before calling any finprint-crypto functions, you'll need to initialize the library by awaiting the ready promise.

import * as crypto from '@finprint/crypto-utils'
await crypto.ready

Supported Functions

This module supports only the algorithms and formats used by the Finprint smart contracts.

Encryption

  • X25519-Chacha20-Poly1305 key generation
  • X25519-Chacha20-Poly1305 encryption/decryption

Digest

  • blake2b-256

Encoding

  • Base64Url unpadded

About

Cryptographic utility functions for use with the Finprint protocol.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages