
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
A tool to help encrypt and decrypt your data using AES-256 algorithm.
The algorithm is AES-256-CBC in openssl.
And it could be also used as an library.
npm i -g litaes
# Encrypt File
## This will generate encrypted file in the same directory of origin file.
## The encrypted file's format is `Lit`.
## So `abc.zip` will be `abc.zip.Lit` after encryption.
litaes e file_to_encrypt password
litaes encrypt file_to_encrypt password
litaes e file_to_encrypt -p [password]
litaes encrypt file_to_encrypt -p [password]
litaes e file_to_encrypt --password [password]
litaes encrypt file_to_encrypt --password [password]
### The command could be `e` or `encrypt`, they are same.
### `-p` is an alias of `--password`, and
### `-p` is optional for providing password.
### But if you want input your password, keep `-p` empty.
[!CAUTION] This tool can only decrypt files encrypted by this tool.
# Decrypt File
## This will generate decrypted file in the same directory of origin file.
## The decrypted file's format is `Til`.
## For example, `abc.zip.Lit` will be decrypted to `abc.zip.Til`.
## Why not just `abc.zip`? Because you may perform decryption in the same directory.
litaes d file_to_decrypt password
litaes decrypt file_to_decrypt password
litaes d file_to_decrypt -p [password]
litaes decrypt file_to_decrypt -p [password]
litaes d file_to_decrypt --password [password]
litaes decrypt file_to_decrypt --password [password]
### Just like in `Encrypt File`,
### The command could be `e` or `encrypt`, they are same.
### `-p` is an alias of `--password`, and
### `-p` is optional for providing password.
### But if you want input your password, keep `-p` empty.
If you want to supply your password from environment variables.
There is a way to do that. LITAES_PASSWORD
, keep it uppercase.
# example in powershell
$env:LITAES_PASSWORD='password'
And the priority is
command plain password
> -p, --password
> LITAES_PASSWORD
You could just run litaes -h
to get more infomation.
FAQs
A cli tool to help encrypt and decrypt your data using aes-256.
We found that litaes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.