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

MD5

Syntax

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

Purpose

The MD5 SQL function converts a value to a 128-bit hash value as defined in RFC 1321.

Parameters:

  • Input (varchar2 or blob): Text to convert with MD5.

Returns: the input converted with MD5.

Examples

The following example retrieves the MD5 hash of abcde:

select md5('abcde')

--------------------------------
ab56b4d92b40713acc5af89985d4b786