---
title: "SHA384"
description: "The SHA384 SQL function calculates hash value for parameter according to SHA384 algorithm."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/sha384
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/sha384
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

## Syntax
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> | | SHA384[SHA384]:::quoted
    SHA384 --> End((END))
```

## Purpose
The `SHA384` SQL function calculates hash value for parameter according to SHA384 algorithm.

See also [[SHA1]], [[SHA256]] and [[SHA512]].

Parameters:
- Value (`varchar2` or `blob`): text or BLOB to calculate SHA384 hash value for.

Returns: Hash value.

## Examples
The following example retrieves the SHA384 hash of `abcde`:
```sql
select sha384('abcde')

------------------------------------------------------------------------------------------------
4c525cbeac729eaf4b4665815bc5db0c84fe6300068a727cf74e2813521565abc0ec57a37ee4d8be89d097c0d2ad52f0
```
The following example returns `null` since the input is `null`:
```sql
select sha384(null)

-------------------

```