{"name":"hashValue","title":"hashValue","type":"command","url":"https://community.bistudio.com/wiki/hashValue","revid":379221,"updated":"2026-10-30T22:51:35Z","groups":["HashMap"],"status":"ok","games":{"arma3":"2.06"},"since":"arma3 2.06","arma3_since":"2.06","description":"Processes provided *value*'s hash, and encodes it using [Base64](https://en.wikipedia.org/wiki/Base64). The hash algorithm is [FNV-1A 64bit](https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function).\n\n> [!NOTE]\n> A hash value remains the same between game restarts but for Object and Group type, their hash being based on their netId.","syntaxes":[{"syntax":"hashValue value","params":[{"name":"value","type":"Array, Boolean, Code, Config, Group, HashMap, Namespace, NaN, Number, Object, Script Handle, Side or String","type_expr":"Array | Boolean | Code | Config | Group | HashMap | Namespace | NaN | Number | Object | Script Handle | Side | String"}],"returns":{"type":"String","type_expr":"String","description":"base64-encoded 64 bits hash"},"form":"unary","right":{"text":"value"}}],"examples":[{"code":["private _valueHash = hashValue \"Hello There\";"]},{"code":["private _isCorrectPW = hashValue _enteredPassword == \"eWkXUUqiinE\";"]},{"code":["hashValue (systemTime joinString \"\"); // Returns a unique hash value such as \"xoMQ9qd7S60\""]}],"see_also":["createHashMap","values"]}