hashValue: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\[ *(https?:\/\/[^ = ]+) +([^= ]+) *\]" to "{{Link|$1|$2}}") |
m (Generate unique hash value) |
||
Line 18: | Line 18: | ||
|x2= <sqf>private _isCorrectPW = hashValue _enteredPassword == "eWkXUUqiinE";</sqf> | |x2= <sqf>private _isCorrectPW = hashValue _enteredPassword == "eWkXUUqiinE";</sqf> | ||
|x3= <sqf>hashValue (systemTime joinString ""); // Returns a unique hash value such as "xoMQ9qd7S60"</sqf> | |||
|seealso= [[createHashMap]] [[values]] | |seealso= [[createHashMap]] [[values]] | ||
}} | }} |
Latest revision as of 11:05, 4 May 2025
Description
- Description:
- Processes provided value's hash, and encodes it using Base64. The hash algorithm is FNV-1A 64bit.
- Groups:
- HashMap
Syntax
- Syntax:
- hashValue value
- Parameters:
- value: Array, Boolean, Code, Config, Group, Namespace, NaN, Number, Object, Side or String
- Return Value:
- String - base64-encoded 64 bits hash
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- createHashMap values
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note