// decrypt.js
/* global AdventureJS A */
/**
* Decrypt a string. Used to make point and hint data
* non human readable via encryption.
* @method AdventureJS.Game#decrypt
* @memberOf AdventureJS
* @param {String} text
* @returns {String}
*/
AdventureJS.FX.decrypt = function AdventureJS_decrypt(text, key = "a") {
return A.FX.encrypt(text, key);
};