[Project_owners] Creating an HMAC code

Eric Jung grimholtz at yahoo.com
Sun Nov 6 05:14:45 EST 2005


You can do it in Javascript:
http://pajhome.org.uk/crypt/md5/sha1src.html
I've been using a slightly modified version of this code in
PasswordMaker for a year now.

--- Alex Eng <aeng at intergate.ca> wrote:

> For a Firefox extension I'm developing, I need to generate a 
> base64-encoded signature to authenticate a request that is being
> sent to 
> a web service, using the Mozilla SOAP API.
> 
> The signature is supposed to be an HMAC code.  I've been looking
> for an 
> XPCOM component or some other library that can generate an HMAC
> using 
> SHA-1 and a secret key, but searches in Google and XULPlanet's
> XPCOM 
> Reference were futile.  Is there any Mozilla code out there that
> can do 
> this?  Thanks.
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


More information about the Project_owners mailing list