lunar-obsidian-crypt
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i lunar-obsidian-crypt

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

48.4 kB

Total Files

24

Last publish

Collaborators

  • olih