Returns an SHA1 hash of buffer. Secure Hash Algorithm
crypto_sha1( buffer var, format, result var )
Returns 1 on success, 0 on failure. (including OpenSSL not being available)
  • buffer = value to hash by reference
  • output_format = 'hex' or 'binary'. Anything else will result in binary output.
  • output = returned sha1 hash value.
User Annotations: crypto_sha1