Scripting/Squirrel/Functions/SHA1: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "Calculate the '''SHA1''' hash of a string == Syntax == <pre>SHA1( string str )</pre> == Arguments == * ''String'' '''str''' - string of which you want to calculate the hash...")
 
m (Do not sign your edits)
Line 12: Line 12:
== Example ==
== Example ==
<pre>print( SHA1("test") );</pre>
<pre>print( SHA1("test") );</pre>
By KAKAN

Revision as of 03:33, 10 March 2016

Calculate the SHA1 hash of a string

Syntax

SHA1( string str )

Arguments

  • String str - string of which you want to calculate the hash

Return value

String containing calculated SHA1 hash of str

Example

print( SHA1("test") );