Skip to content

damartripamungkas/safe-my-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SAFE-MY-TEXT

GitHub top language Made by Repository size GitHub last commit

๐Ÿ“– Description :

This package is made for those who want to encrypt and decrypt using AES-256. The difference between this package and the default crypto-js package is that it provides specialized handling for encryption and decryption. This package can also be used for encryption of private data such as pharse crypto, privatekey crypto and others.

๐Ÿ’ป Step to install :

npm install safe-my-text

โœ๏ธ Example :

see full here

import { encryptText, decryptText } from "safe-my-text"

const password = `president123`
const encrypt = encryptText(`mypharse wallet crypto`, password)
const decrypt = decryptText(encrypt, password)

console.log({ encrypt, decrypt })

๐Ÿงพ Pre-Requisistes :

- node.js / bun.js / deno.js
- (optional) typescript
- (optional) commonJS
- (optional) ESM

๐Ÿ“ License :

Licensed under the MIT License.