Sha1()
From TinyMUX
[edit]
Description
Returns 40 hexadecimal characters which represent a 160-bit cryptographically secure hash of string.
This hash can also be described as a signature, fingerprint, or digest. sha1() implements SHA-1 as described in FIPS 180-1 and FIPS 180-2.
Related Topics: crc32(), unpack().
[edit]
Examples
- > think sha1(abc)
- A9993E364706816ABA3E25717850C26C9CD0D89D
- > think sha1(abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq)
- 84983E441C3BD26EBAAE4AA1F95129E5E54670F1
(--Soylent 01:54, 3 December 2005 (EST))
