@ddboot/secure
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@ddboot/security

description

This package is a security package for ddboot.

install

npm install @ddboot/secure

how to use

import { Aes256CBC } from "@ddboot/secure";

const origin = Aes256CBC.Encrypt(testVal, salt);
const decode = Aes256CBC.Decrypt(origin, "ddddd");

import { pbkdf2 } from "@ddboot/secure";

const decode = await pbkdf2.Key("123", "123"); // string
const compare = await pbkdf2.Compare("123", decode); // boolean

Readme

Keywords

none

Package Sidebar

Install

npm i @ddboot/secure

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

9.03 kB

Total Files

12

Last publish

Collaborators

  • charlesmaxwellyoung