5 42 3 HASH

LANSA Integrator

5.42.3 HASH

The HASH command generates the hash of the specified field or file. The hash value is returned in the command message response.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

HASH

FILE

value

Optional. File Path.

FIELD

value

Optional. Field Name.

DIGEST

value

Optional. Hashing algorithm supported by the JVM.
MD2,MD5,SHA,SHA256,SHA384,SHA256.
Default. SHA.

ENCODING

value

Optional. Field value to byte encoding.
Default. UTF-8.

HASHENCODING

*HEX

Optional. String encoding of binary hash.
Default.

*BASE64