📅  最后修改于: 2022-03-11 15:01:40.841000             🧑  作者: Mango
/**
* @name hash
* @description Random hashing algorithm I found on Stack Overflow.
* @param {string} str
* @param {boolean} asString
* @param {*} seed
*
* @returns {string} hash
*/
function hash(str, asString, seed) {