Get intermediate MessageDigest state?
Bernd Eckenfels
ecki at zusammenkunft.net
Fri May 23 00:34:22 UTC 2014
Hello,
for some applications I need to safe and resume the state of a
MessageDigest implementation (SHA1 and others). I wonder if there has
been any discussion about exporting states from Digesters or Cipher
Streams?
For MD5 there is a implementation which supports this, but of course I
would prefer JCE provider (especially if I can get a speed up with
intrinsics)
https://code.google.com/p/project-penny/wiki/RecMD5
I can imagine first a getter/setter for the state, but also (with
help of clone) using the digest() method could be possible (at least
for some digest algorithms).
Greetings
Bernd
More information about the security-dev
mailing list