User Tools

Site Tools


uphp:functions:sha1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:sha1 [2017/05/23 15:33]
jeff
uphp:functions:sha1 [2019/08/16 09:42]
admin [See Also]
Line 11: Line 11:
 <span style="color:black">sha1 ( <span style="color:black">sha1 (
 <span style="color:green">string <span style="color:green">string
-<span style="color:blue">$str+<span style="color:blue">$input
 <span style="color:black">) <span style="color:black">)
 </html></well> </html></well>
Line 21: Line 21:
 ====Parameter==== ====Parameter====
  
-<html><b><span style="color:blue">$str<span style="color:black"></b>:  A <b><span style="color:green">string<span style="color:black"></b></html>+<html><b><span style="color:blue">$input<span style="color:black"></b>:  A <b><span style="color:green">string<span style="color:black"></b></html>
  
 ====Return Values==== ====Return Values====
  
-<html><b><span style="color:green">String<span style="color:black"></b>:  SHA1 hash (40 character hexadecimal number) of <b><span style="color:blue">str</b></html>+<html><b><span style="color:green">String<span style="color:black"></b>:  SHA1 hash (40 character hexadecimal number) of <b><span style="color:blue">input</b></html>
  
 ====Example==== ====Example====
Line 48: Line 48:
 [[md5_file()]] - Calculate the MD5 hash of a file [[md5_file()]] - Calculate the MD5 hash of a file
  
 +[[hash_hmac()]] - Calculate the hash of a string
 +
 +[[aes_decrypt()]] - Decrypt a string using the AES algorithm
 +
 +[[aes_encrypt()]] - Encrypt a string using the AES algorithm
uphp/functions/sha1.txt · Last modified: 2021/09/13 05:57 (external edit)