hashValue: Difference between revisions
Jump to navigation
Jump to search
(Added information about the hash algorithm) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 15: | Line 15: | ||
|r1= [[String]] - base64-encoded 64 bits hash | |r1= [[String]] - base64-encoded 64 bits hash | ||
|x1= < | |x1= <sqf>private _valueHash = hashValue "Hello There";</sqf> | ||
|x2= < | |x2= <sqf>private _isCorrectPW = hashValue _enteredPassword == "eWkXUUqiinE";</sqf> | ||
|seealso= [[createHashMap]] [[values]] | |seealso= [[createHashMap]] [[values]] | ||
}} | }} |
Revision as of 18:10, 5 May 2022
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:
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