# SHA256

## NAME

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

## SYNOPSIS

*str* **SHA256**(str);

**SHA256** It takes one unnamed argument.

## DESCRIPTION

SHA256 is a type of hash function.


## RETURN VALUE

SHA256 hash

## ERRORS

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

## EXAMPLES

```cpp
hash = SHA256("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)**,
**[SHA512(3)](SHA512.md)**,
