digest.hash_sha1_from_base64

STRINGdigest.hash_sha1_from_base64STRINGs

Available in all subroutines.

Decodes a Base64-encoded string and then calculates a SHA-1 cryptographic hash for the decoded one.

Example

declare local var.hash_sha1 STRING;
set var.hash_sha1 = digest.hash_sha1_from_base64("SGVsbG8sIHdvcmxkIQo=");
# var.hash_sha1 is now "09fac8dbfd27bd9b4d23a00eb648aa751789536d"

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.