From: Tom Copeland Date: 2006-02-24T04:11:01+09:00 Subject: Re: Help with Sha + Base64 for WSSE encoding. > 1. Create a random Nonce(or string) > 2. create the token by doing Base64(sha(nonce + timestamp + password) Cool. > puts Base64.encode64(Digest::SHA1.hexdigest(nonce + time + > password)).strip Hm, do you want to be calling SHA1.hexdigest() here? Or just SHA1.digest()? Yours, Tom