You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <ba...@generationjava.com> on 2003/11/19 02:42:04 UTC

[codec] message digest code

Apologies if I've mentioned this before. I have a similar class to
DigestUtils but with a few differences:

http://www.osjava.org/genjava-core/xref/com/generationjava/security/Securer.html

1) It treats it as an object not a static.
2) It hides CRC32 and Adler32 'digests'.
3) It does some basic help on comparing hashes. Partly this is due to my
habit of turning all such byte[]'s into hexascii 0-F notation so it can
easily go in databases.

Please ignore Constant, and ByteArray ideas went into Hex I think so Hex
should support anything it does.

I think I read that the static was preferred to instance, but has anyone
considered the CRC32 and Adler32 checksums that are hidden away in the
util.zip code?

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org