Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damartripamungkas/safe-my-text
๐ Encrypt your text before storing it
https://github.com/damartripamungkas/safe-my-text
aes-256 bunjs crypto-wallet-security denojs encryption-decryption nodejs private-key
Last synced: 2 months ago
JSON representation
๐ Encrypt your text before storing it
- Host: GitHub
- URL: https://github.com/damartripamungkas/safe-my-text
- Owner: damartripamungkas
- License: mit
- Created: 2021-11-09T17:09:50.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-19T11:20:10.000Z (5 months ago)
- Last Synced: 2024-10-31T09:41:51.038Z (2 months ago)
- Topics: aes-256, bunjs, crypto-wallet-security, denojs, encryption-decryption, nodejs, private-key
- Language: TypeScript
- Homepage: https://npmjs.com/package/safe-my-text
- Size: 778 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
SAFE-MY-TEXT### ๐ 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](./test)
```typescript
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](./LICENSE).