crypto-tk
crypto-tk copied to clipboard
Add APIs to call the hash function incrementally
For now, the only way to compute a hash in crypto-tk is to give the input at once. This is an issue when we want to compute the hash of a concatenation as we have to put all the data in a single buffer before hashing.
Creating these buffers causes both efficiency and security problems (e.g. in the HMac implementation).