Get intermediate MessageDigest state?

Bernd Eckenfels bernd-2014 at eckenfels.net
Fri May 23 02:40:37 UTC 2014


Am Thu, 22 May 2014 20:49:26 -0500
schrieb "David M. Lloyd" <david.lloyd at redhat.com>:
> Using MessageDigest.clone() is the usual approach.  Theoretically 
> though, some providers won't be cloneable; the only practical
> recourse in this case is to replay the whole of the input,
> unfortunately.

My problem is, that I need to serialize the state to a database or
file. The problem about the non-clone support is not a big problem for
me, as I can select a well known provider.

Greetings
Bernd



More information about the security-dev mailing list