Skip to content

Conversation

@tstenner
Copy link

@tstenner tstenner commented Apr 1, 2025

Semi-duplicate of Masterminds#432.

The hash functions return their result as hex encoded strings. For some integration tasks, we need the base64 encoded hashes.
Instead of duplicating all hash functions, I added a single hexdec function that can achieve the same result:

{{"abc" | sha256sum | hexdec | b64enc}}

Signed-off-by: Tristan Stenner <ts@ppi.de>
@tstenner tstenner force-pushed the feature/hexdec_es branch from a9e9385 to 7718ef4 Compare April 1, 2025 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant