crypto-keystore
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

crypto-keystore

A lightweight, cross-platform keystore cryptographic utility library for secure data storage and encryption.

Features

  • Cross-Platform Compatibility: Seamlessly works in both Node.js and browser environments.
  • Secure Cryptographic Operations: Ensures the integrity and confidentiality of your data.
  • TypeScript Support: Built with TypeScript for robust code quality and maintainability.

Installation

npm install crypto-keystore
# or
pnpm add crypto-keystore
# or
yarn add crypto-keystore

Usage

import { encrypt, decrypt } from 'crypto-keystore';

const message = "Hello, World!";
const password = "password";

const keystore = await encrypt(
      new TextEncoder().encode(message),
      "aes-128-ctr",
      password
);

console.log(keystore); // { ... }

Package Sidebar

Install

npm i crypto-keystore

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

37.4 kB

Total Files

26

Last publish

Collaborators

  • theharshrastogi