module.exports.encrypt = function(text){
    const cipher = crypto.createCipher('aes-256-cbc', CIPHER);
    const crypted = cipher.update(text,'utf8','hex') + cipher.final('hex');
    return crypted;
};