# SHA512

## NAME

**SHA512** - takes a unnamed paramaeter and return SHA512 hash

## SYNOPSIS

*str* **SHA512**(str);

**SHA512** It takes one unnamed argument.

## DESCRIPTION

SHA512 is a type of hash function.


## RETURN VALUE

SHA512 hash

## ERRORS

Returns NULL when given data is null or when the algorithm is not supported by the installed gcrypt library.

## EXAMPLES

```cpp
hash = SHA512("test");
```

## SEE ALSO

**[MD2(3)](MD2.md)**,
**[MD4(3)](MD4.md)**,
**[MD5(3)](MD5.md)**,
**[NTLMv1_HASH(3)](NTLMv1_HASH.md)**,
**[NTLMv2_HASH(3)](NTLMv2_HASH.md)**,
**[RIPEMD160(3)](RIPEMD160.md)**,
**[SHA1(3)](SHA1.md)**,
**[SHA256(3)](SHA256.md)**,
