Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rubinders/crypt-aes
Cli tool to encrypt files and folders using AES
https://github.com/rubinders/crypt-aes
aes cli decrypt decryption encrypt encryption
Last synced: 14 days ago
JSON representation
Cli tool to encrypt files and folders using AES
- Host: GitHub
- URL: https://github.com/rubinders/crypt-aes
- Owner: RubinderS
- License: mit
- Created: 2019-07-08T02:06:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T06:57:48.000Z (almost 2 years ago)
- Last Synced: 2024-10-16T01:31:48.029Z (about 1 month ago)
- Topics: aes, cli, decrypt, decryption, encrypt, encryption
- Language: TypeScript
- Homepage:
- Size: 533 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![GitHub](https://img.shields.io/github/license/rubinder25/nodecrypt?style=flat-square) ![GitHub package.json version](https://img.shields.io/github/package-json/v/rubinder25/nodecrypt?style=flat-square) [![Actions Status](https://github.com/rubinder25/crypt-aes/workflows/build/badge.svg)](https://github.com/rubinder25/crypt-aes/workflows/build/badge.svg)
# Crypt-AES
Cli tool to encrypt files and folders using AES
## Install
```
npm i crypt-aes -g
```## Usage
```
crypt-aes encrypt|decrypt [options]
```or
```
c-aes enc|dec [options]
```for example:
```
crypt-aes encrypt --source file.txt --password mypass
```or
```
c-aes enc -s file.txt -p mypass
```| Option | Description |
| :------------------------------ | :----------------------------------------------------------------------------------------------- |
| --source, -s : | source file or directory |
| --password, -p : | password to be used |
| --keep, -k : | keep the original file after the operation
(optional, default is delete the original file) |
| --output, -o : | output directory for the processed files
(optional, default is same directory) |For help:
```
c-aes -h
```## Usage as a module
crypt-aes can also be used as local npm dependency
```javascript
import {encrypt, decrypt} from 'crypt-aes';encrypt({srcPath: './', pswrd: 'mypass', keepSrc: false, destPath: null});
```