invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

SHA384

Syntax

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

select sha384('abcde')

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

The following example returns null since the input is null:

select sha384(null)

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