Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including warshield with all npm packages installed. Try it out:

var warshield = require("warshield")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

warshield v3.0.1

Warshield is a file encryption and decryption CLI using 3DES algorithm


license npm

WarShield is a CLI tool made to encrypt and decrypt your files with a password using AES-256. It was made to ensure a full files protection inside a storage device. If those are lost or stolen, malicious peoples can take over your data.

It uses AES-256 GCM (Galois/Counter Mode) with random 16 bytes initialization vector. Key is hash in a 256 bits key with SHA-512 using random 64 bytes salt and rounds (between 3000 and 9000 rounds).

How to install

NodeJS minimal required version is v10.0.0.
To install as a CLI tool, launch npm install -g warshield.

How to use

Usage: warshield [options] <mode> <dir>

  -V, --version             output the version number
  -v, --verbose             enable verbosity
  -t, --trace               enable stacktrace
  -p, --tmp <directory>     change temporary directory
  -h, --help                output usage information

  encrypt [options] <file>  encrypt a file or all files in a directory
  decrypt [options] <file>  decrypt a file or all files in a directory


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free