finebraincom / grunt-aes

Grunt AES encryption/decryption task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grunt-aes

Grunt task for encryprion/decryption with AES elgorythm

module.exports = function(grunt) {

 grunt.initConfig({
    encrypt : {
        'secret' : {
            src : '<src/file>',
            dest : '<dest/encrypted/file>',
            key : '<encryptionKey>',
            nBits : <number of encryption bits>
        },
    },
    decrypt : {
        'secret' : {
            src : '<src/encrypted/file>',
            dest : '<dest/decrypted/file>',
            key : '<encryptionKey>',
            nBits : <number of encryption bits>
        },
        //...
    }
});

}

About

Grunt AES encryption/decryption task

License:MIT License


Languages

Language:JavaScript 100.0%