Skip to content

HashGenerator generator

Generate cryptographic hashes using various algorithms.

Why: Use HashGenerator for new random digest-shaped values such as synthetic fingerprints; use the Hash converter to pseudonymize an existing source value reproducibly.

Category: core.

Output: str.

1
<key name="value" generator="HashGenerator(algorithm='sha256')"/>

Parameters

  • algorithm: str; Default sha256 — Supported cryptographic digest algorithm used for the random input.