Answer the question
In order to leave comments, you need to log in
How to generate a SHA-256 hash for a string on MacOS?
You need to generate a SHA-256 hash for a variable string from AppleScript. What is the best way to do this?
Answer the question
In order to leave comments, you need to log in
The sha1 command is shorthand for
cksum -a sha1
The cksum(1) command can also be used to compute digests from the SHA-2
family: sha256, sha384 and sha512.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question