Skip to content

Hash

SHA-256 and SHA-512 cryptographic hashing.

2 modules

ModuleDescription
Hachage SHA-256Calculer le hachage cryptographique SHA-256 du texte
Hachage SHA-512Calculer le hachage cryptographique SHA-512 du texte

Modules

Hachage SHA-256

hash.sha256

Calculer le hachage cryptographique SHA-256 du texte

Parameters:

NameTypeRequiredDefaultDescription
textstringYes-Texte à hacher
encodingstringNoutf-8Texte à hacher

Output:

FieldTypeDescription
hashstringEncodage du texte
algorithmstringHachage SHA-256 (64 caractères hexadécimaux)

Hachage SHA-512

hash.sha512

Calculer le hachage cryptographique SHA-512 du texte

Parameters:

NameTypeRequiredDefaultDescription
textstringYes-Texte à hacher
encodingstringNoutf-8Texte à hacher

Output:

FieldTypeDescription
hashstringEncodage du texte
algorithmstringHachage SHA-512 (128 caractères hexadécimaux)

Released under the Apache 2.0 License.