node package manager


Simplecrypt for Gulp.


Simplecrypt module as a Gulp extension.

npm install gulp-simplecrypt
var encrypt = require("gulp-simplecrypt").encrypt;
var decrypt = require("gulp-simplecrypt").decrypt;


Options get passed to the Simplecrypt module, so take a look at its options.

Originally Simplecrypt defaults to a cryptographically strong, random password, if none given. For my own convenience, I changed this default to a random UTF-8 string (A-Z, a-z, 0-9), which gets logged to the console.

By default, the length of this string is 50 characters, I created an additional option to change this:


Feel free to submit an issue in case you need the original behaviour!