blog archive contact about feed

J2ME SHA-1 Implementation

I've been doing quite a bit of J2ME programming recently.

I needed a SHA-1 hash for a project I was working on and I came across Sam Ruby's Base64 SHA-1 for J2ME.

It's very simple to use, just drop it into your app's directory when using the Java Wireless Toolkit. It is called using the following code...

String myHash = SHA1.encode(myString);

So thanks to Sam, Russell Beattie and Paul Johnson for the good work on this.

Entered: 2004-11-10 09:04:08
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=438

Rob's Other Blog Entries

See other blog entries for November 2004, or an index of all blog entries.