hashes: add one-shot hash method to HashEngine
This commit adds a small convenience method that lets any hash type compute a hash from a chunk of data in a single call. It is a pure API addition with no changes to existing behavior, no bug fixes, and no security-related content.
aa2050a2by jrakibi+10−01 file