module.exports.encode = function (value, salt) {
    let cipher = crypto
        .createCipher(algorithm, salt);
    return cipher.update(value, 'utf8', 'hex') + cipher.final('hex');
};