caramel-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Caramel-js SDK

npm version license

Public cryptography for encryting NFT metadata on flow blockchain with public key and decrypting with private key

Installation

npm install caramel-js

Usage

// Import the module
import { encryptMsg, decryptMsg } from 'caramel-js';

// Use the functions
const encryptedData = encryptMsg(message, publicKey);
const decryptedData = decryptMsg(encryptedData, privateKey);

/caramel-js/

    Package Sidebar

    Install

    npm i caramel-js

    Weekly Downloads

    1

    Version

    0.0.6

    License

    ISC

    Unpacked Size

    10.7 kB

    Total Files

    16

    Last publish

    Collaborators

    • tinybirdpro