Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

sha1

text sha1(text, flags)

Return an SHA-1 cryptographic 160-bit hash code of text as characters in the UTF-8 charset or an hexadecimal representation of bytes.

Flags:

FlagDescription
"h"Expect the text to be an hexadecimal representation of bytes, see hexEncode function.

Security warning! The SHA-1 hash algorithm is no longer considered secure and should not be use for cryptographic purposes.

Parameters

  1. text — text as characters in the UTF-8 charset or an hexadecimal representation of bytes.
  2. flags — optional text where each character is a flag.

Returns

  • an hexadecimal representation of the 160-bit checksum.
Note! This documentation is also accessible within the app from Help & feedback menu.