From the java.security.MessageDigest javadoc:
MessageDigest md = MessageDigest.getInstance("SHA"); try { md.update(toChapter1); MessageDigest tc1 = md.clone(); byte[] toChapter1Digest = tc1.digest(); md.update(toChapter2); ...etc. } catch (CloneNotSupportedException cnse) { throw new DigestException("couldn't make digest of partial content"); }I think you'd be very surprised about all the thing Java can do.
Regards
Jose
Andrew Kirilenko wrote:
Hello!On 13:51 Wed 28 May, Erik S. Johansen wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 28 May 2003 13:17, Andrew Kirilenko wrote:Purchace good java book, or better purchace good C++ book - java isn't good language at all.That's bait if I've ever seen it ;) java *was* a bad language... in it's current state it runs at 70-80% of natively compiled code speed, and has features that definitely makes it the right choice for a lot of tasks.Can you please paste java code here, which will calc md5 sum? I'd like to get "5d41402abc4b2a76b9719d911017c592" from "hello". Best regards, Andrew. -- [EMAIL PROTECTED] mailing list