# SHA512 encryption

## Overview

The **zoho.encryption.sha512** task returns the hash corresponding to the given text, generated using the SHA512 algorithm.

## Syntax

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

where:

Params | Data type | Description |

<response> | TEXT | The hash generated using the SHA512 algorithm. |

<data> | TEXT | The source text whose corresponding hash needs to be computed. |

## Example

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

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

where:

`response`

The variable that represents the hash value returned by this task. Here, the hash returned is

**3615f80c9d293ed7402687f94b22d58e529b8cc7916f8fac7fddf7fbd5af4cf777d3d795a7a00a16bf7e7f3fb9561ee9baae480da9fe7a18769e71886b03f315**`"hello"`

The source text whose corresponding hash needs to be computed.