0.1.0 • Published 2 years ago

lunar-obsidian-crypt v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

lunar-obsidian-crypt

npm Build
status npm bundle
size

npm type
definitions node-current NPM

Experimental

The easiest way to encrypt your data with TypeScript on the server side

Foolproof encryption functions curated for business cases

Hero image for lunar-obsidian-crypt

Highlights:

  • Simplify your encryption needs with a user-friendly library
  • Choose the best encryption method for your scenario, such as signing ID, verifying data, or securing messages
  • Avoid common encryption pitfalls with sensible defaults and best practices
  • Leverage the power and security of JOSE JWT standards

A few examples of commands:

Sign a payload with just an identifier and get back a full token:

const signResult = await signLunarCrypt.signId('product', { id:
'product123'});

Verify a full token and get back a payload:

const verifyResult = await lunarCrypt.verifyId(fullToken);

Documentation and links

Related

Installation

This package is ESM only.

yarn add lunar-obsidian-crypt
0.1.0

2 years ago