SHA1

SHA1 Encryption

Table of Contents

Note: This function is not applicable to Zoho Creator.

Overview

The zoho.encryption.sha1 task returns the hash value corresponding to the given text, generated using the SHA1 algorithm.

Syntax

<response> = zoho.encryption.sha1(<data>);

where:

ParamsData typeDescription

<response>

TEXT

The hash value generated using the SHA1 algorithm.

<data>

TEXT

The source text whose corresponding hash value needs to be computed.

Example

The following script returns the hash generated using the SHA1 algorithm for the text - hello:

response = zoho.encryption.sha1("hello");

where:

response
The TEXT that represents the hash value returned by this task. Here, the hash returned is aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
"hello"
The TEXT that represents the source text whose corresponding hash needs to be computed.

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com