Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cryptfile

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cryptfile

Encrypt / Decrypts files using AES-256

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

Filecrypt

Encrypt and decrypt files with ease so that you can securely check them in to source control.

Files are encrypted with OpenSSL AES-256 algorithm.

Basic Usage

Encrypt

Usage: npx cryptfile encrypt file=<path-to-file> pw=<password>

Example: npx cryptfile encrypt file=./src/Crypt.ts pw=hunter2

Output: ./src/Crypt.ts.enc

Decrypt

Usage: npx cryptfile decrypt file=<path-to-file> pw=<password>

Example:

npx cryptfile decrypt file=./src/Crypt.ts pw=hunter2
npx cryptfile decrypt file=./src/Crypt.ts.enc pw=hunter2

Output: ./src/Crypt.ts

Configuration File

.filecrypt.cfg

<path-to-file-#1>
<path-to-file-#2>
<path-to-file-#3>

Example:

package.json
package.lock.json
src/Crypt.ts

Encrypt from .cryptfile.cfg

Usage: npx cryptfile encrypt cfg=<path-to-cryptfile.cfg> pw=<password≥

Example: npx encrypt cryptfile cfg=.cryptfile.cfg pw=hunter2

Decrypt from .cryptfile.cfg

Usage: npx cryptfile decrypt cfg=<path-to-cryptfile.cfg> pw=<password≥

Example: npx decrypt cryptfile cfg=.cryptfile.cfg pw=hunter2

FAQs

Package last updated on 28 Jul 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc