---
title: "SHA384"
description: "La funzione SQL SHA384 calcola il valore hash del parametro secondo l\u0027algoritmo SHA384."
language: it
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/it/docs/invantive-universalsql/grammar/sql-functions/sha384
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/sha384
updated: 2026-12-04T14:24:39Z
license: https://documentation.invantive.eu/it/
---

## Sintassi
```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))
```

## Scopo
La funzione SQL `SHA384` calcola il valore hash del parametro secondo l'algoritmo SHA384.

Vedi anche [[SHA1]], [[SHA256]] e [[SHA512]].

Parametri:
- Valore (`varchar2` o `blob`): testo o BLOB per cui calcolare il valore hash SHA384.

Restituisce: un valore hash.

## Esempi
L'esempio seguente recupera l'hash SHA384 dell'elemento `abcde`:
```sql
select sha384('abcde')

------------------------------------------------------------------------------------------------
4c525cbeac729eaf4b4665815bc5db0c84fe6300068a727cf74e2813521565abc0ec57a37ee4d8be89d097c0d2ad52f0
```
L'esempio seguente restituisce `null` poiché l'input è `null`:
```sql
select sha384(null)

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

```

