crypt-config 0.2.2

A crypt module that encrypt/decrypt json data based on the configuration. This might be used as a layer before saving data in Mongo DB or after fetching the data from the DB in order to decrypt them.
Documentation
{
    "version": "1.0.0",
    "ciphers": {
        "email": {
            "configurations": {
                "1.0": {
                    "algorithm": "aes_cbc",
                    "secret": "zj4aY4M8BQCfIxllyg6pTw=="
                },
                "1.1": {
                    "algorithm": "aes_cfb1",
                    "secret": "zj4aY4M8BQCfIxllyg6pTw=="
                },
                "2.1": {
                    "algorithm": "aes_ecb",
                    "secret": "zj4aY4M8BQCfIxllyg6pTw=="
                }
            }
        }
    },
    "hashers": {
        "email": {
            "configurations": {
                "1.0": {
                    "algorithm": "bcrypt",
                    "rounds": 5,
                    "salt": "zj4aY4M8BQCfIxllyg6pTw=="
                },
                "2.0": {
                    "algorithm": "pbkdf2",
                    "rounds": 10,
                    "salt": "zj4aY4M8BQCfIxllyg6pTw=="
                }
            }
        }
    }
}