// 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.decrypt = function Adventurejs_decrypt(text, key = "a") {
return A.encrypt(text, key);
};