RE: how we can encode SHA-1 hash to Base64

2004-07-12 Thread Asanka Priyanjitih
s. http://cvs.apache.org/viewcvs.cgi/xml-security/c/src/enc/OpenSSL/OpenSSL CryptoBase64.cpp?rev=1.7&view=markup If you want to do it using xsec, there are examples in DSIGReference for doing it using xsec calls (setHash) http://cvs.apache.org/viewcvs.cgi/xml-security/c/src/dsig/DSIG

how we can encode SHA-1 hash to Base64

2004-07-07 Thread Asanka Priyanjitih
Hi Team     I wrote a piece of code to generate a password digest. But this is not complete one. After generating SHA-1 hash, we have to encode SHA-1 hash to Base64.If some one knows how can we do that using that libraries or some other suitable method please tell me?   This is that m