NUTRINTG Encryptor tool for MongoDB
Overview:
For security reasons, sensitive data which we store in MongoDB is encrypted with AES.
This tool is used to encrypt properties in a proper way.
Prerequisites:
Key used for encryption/decrpytion
File with properties which you want to encrypt/decrypt
Encryptor JAR file
Guide:
The tool itself is very simple. You use it by running jar file.
There are 2 available commands: encrypt and decrypt.
Command which you can run should have following construction:
enchelper.jar <command> [key] [filepath]
each field is separated just by space character, there aren’t any brackets in it, so for example it should look like this:
enchelper.jar encrypt 1Ad8dSHj3e2= Documents/FieldToEncrypt.txt
In case of file which contains properites:
Each property should be in a separate line, because encryptor encrypts/decrypt line by line.
The outcome of running encryptor is a file with .output prefix with properites encrypted/decrypted line by line.