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.

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 can also be found in the Help & feedback menu of the app.