caramel-js
v0.0.6
Published
tools for encrypting nft metadata
Downloads
7
Readme
Caramel-js SDK
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);