Skip to content

Hash

SHA-256 and SHA-512 cryptographic hashing.

2 modules

ModuleDescription
Hash SHA-256Calcular hash criptográfico SHA-256 del texto
Hash SHA-512Calcular hash criptográfico SHA-512 del texto

Modules

Hash SHA-256

hash.sha256

Calcular hash criptográfico SHA-256 del texto

Parameters:

NameTypeRequiredDefaultDescription
textstringYes-Texto para hash
encodingstringNoutf-8Texto para hash

Output:

FieldTypeDescription
hashstringCodificación de texto
algorithmstringHash SHA-256 (64 caracteres hexadecimales)

Hash SHA-512

hash.sha512

Calcular hash criptográfico SHA-512 del texto

Parameters:

NameTypeRequiredDefaultDescription
textstringYes-Texto para hash
encodingstringNoutf-8Texto para hash

Output:

FieldTypeDescription
hashstringCodificación de texto
algorithmstringHash SHA-512 (128 caracteres hexadecimales)

Released under the Apache 2.0 License.