## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> | | SHA1[SHA1]:::quoted
SHA1 --> End((END))
```
## Purpose
The `SHA1` SQL function calculates hash value for parameter according to SHA1 algorithm.
Parameters:
- Value: text or BLOB to calculate SHA1 hash value for.
Returns: Hash value.