Hash Module: Difference between revisions

From SolarStrike wiki
Jump to navigationJump to search
Created page with "== sha1() == '''sha1(str)''' Returns the SHA1 hash of a string. == sha1_file() == '''sha1_file(filename)''' Returns the SHA1 hash of a file specified by its fullpath and/o..."
 
mNo edit summary
 
Line 1: Line 1:
== sha1() ==
== sha1 ==
'''sha1(str)'''
'''sha1(str)'''


Line 5: Line 5:




== sha1_file() ==
== sha1_file ==
'''sha1_file(filename)'''
'''sha1_file(filename)'''


Returns the SHA1 hash of a file specified by its fullpath and/or filename.
Returns the SHA1 hash of a file specified by its fullpath and/or filename.

Latest revision as of 03:47, 18 February 2015

sha1

sha1(str)

Returns the SHA1 hash of a string.


sha1_file

sha1_file(filename)

Returns the SHA1 hash of a file specified by its fullpath and/or filename.