Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
How to get a Digest object from raw Data
Hi @aruffin!
The digest can just be produced by invoking the hash function, this can be done in the following way:
let digest = SHA256.hash(data: data)
Can you explain why it would not be possible for you to re-hash the data? Blindly signing hashes can be concerning from a security perspective as the signer does not validate the data that is signed as part of the hash.