ring
ring copied to clipboard
Add `Digest::from_bytes`
Digest::from_bytes can be used to create a Digest structure from an external source, without any knowledge of the digested message.
This can be particularly useful in combination with MR #1493 to sign a digest on behalf of a user authenticated through other means without exposing the private key of the user.