Skip to main content

hash

DEPRECATED

This component is deprecated and will be removed in the next major version release. Please consider moving onto alternative components.

# Common config fields, showing default values
label: ""
hash:
algorithm: sha256
key: ""

Fields​

algorithm​

The hash algorithm to use.

Type: string
Default: "sha256"
Options: sha256, sha512, sha1, xxhash64, hmac-sha1, hmac-sha256, hmac-sha512, md5.

key​

key used for HMAC algorithms

Type: string
Default: ""

parts​

An optional array of message indexes of a batch that the processor should apply to. If left empty all messages are processed. This field is only applicable when batching messages at the input level.

Indexes can be negative, and if so the part will be selected from the end counting backwards starting from -1.

Type: array
Default: []

Alternatives​

All functionality of this processor has been superseded by the bloblang processor.