JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q14980F
  • License MIT

This package lets you encrypt and decrypt messages using a solana keypair

Package Exports

  • solana-encryption
  • solana-encryption/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (solana-encryption) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Solana-encryption

Encrypt and Decrypt

The encryptDecrypt.js module can be used to encrypt and decrypt a message using solana keypairs.

This code can br tested in the index.js file.

Sign and Verify

The Sign and Verify module can be used to sign a message using a Solana key and verify the signature.

The test for this is provided in the test folder.