Skip to content

eisenyang/secretify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secretify

Encrypt/Decrypt String/Array/Object.

Usage

import Secretify from "secretify";

const plainObject = {
    bankAccount: 1122334455667788,
    bankPassword: '12345678'
};

const password = '87654321';
const secret = Secretify.seal(plainObject, password);
console.log(secret);

const decryptObjet = Secretify.unseal(secret, password, Object.keys(plainObject));
console.log(decryptObjet);

About

first commit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors