---
title: "MD5"
description: "La fonction SQL MD5 convertit une valeur en une valeur de hachage de 128 bits, telle que d\u00E9finie dans la RFC 1321."
language: fr
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/fr/docs/invantive-universalsql/grammar/sql-functions/md5
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/md5
updated: 2026-12-04T13:57:23Z
license: https://documentation.invantive.eu/fr/
---

## Syntaxe
```mermaid
%%{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))
```

## Objet
La fonction SQL `MD5` convertit une valeur en une valeur de hachage 128-bit, telle que définie dans la RFC 1321](https://www.rfc-editor.org/rfc/rfc1321).

Paramètres :
- Entrée (`varchar2` ou `blob`) : texte à convertir à l'aide de l'algorithme MD5.

Renvoie : la valeur d'entrée convertie à l'aide de l'algorithme MD5.

## Exemples
L'exemple suivant récupère le hachage MD5 de l'élément `abcde` :
```sql
select md5('abcde')

--------------------------------
ab56b4d92b40713acc5af89985d4b786
```

