Documentazione Invantiveparte di invantive cloud
Forum di supporto InvantiveAccedi / Registrati

SHA384

Sintassi

%%{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:

select sha384('abcde')

------------------------------------------------------------------------------------------------
4c525cbeac729eaf4b4665815bc5db0c84fe6300068a727cf74e2813521565abc0ec57a37ee4d8be89d097c0d2ad52f0

L'esempio seguente restituisce null poiché l'input è null:

select sha384(null)

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