Re: [PHP] SHA-1 + RSA + base64

2003-03-27 Thread Jason Sheets
I'm not sure why you would want to encrypt a hash of a string, a hash (sha1) is already non reversible and you also do not need to base64_encode a sha1 hash (try ?php print sha1('hello'); ?).. If you want to do RSA public key encryption you will need to use an external application such as gpg

Re[2]: [PHP] SHA-1 + RSA + base64

2003-03-27 Thread Veniamin Goldin
See, that encoding method was not produced by me, it was request from bank to do such crazy encryption to use their gateway. That told exactly: first to SHA-1, then RSA (with results of SHA-1) and after all encode it with base64 :( Could you help me with this ? 27 2003 ., 15:42:40: JS I'm

Re: [PHP] SHA-1 + RSA + base64

2003-03-27 Thread David T-G
Veniamin -- ...and then Veniamin Goldin said... % % Hi all, Hi! % % I need some help, % % I have a request to encode string with SHA-1, then with RSA and at the % end with base64, How odd :-) % % There no problems with SHA-1 and base64, but i can't find any % functions to encode using

[PHP] SHA-1 + RSA + base64

2003-03-26 Thread Veniamin Goldin
Hi all, I need some help, I have a request to encode string with SHA-1, then with RSA and at the end with base64, There no problems with SHA-1 and base64, but i can't find any functions to encode using RSA. md5 seems to be not what I'm looking for. I heard also, that there should be special

Re[2]: [PHP] SHA-1

2001-07-20 Thread Gianluca Baldo
Try the MHASH library. See http://www.php.net/manual/en/ref.mhash.php JC HTH, JC -- Joe JC - Original Message - JC From: Gianluca Baldo [EMAIL PROTECTED] JC To: [EMAIL PROTECTED] JC Sent: Thursday, July 19, 2001 5:25 PM JC Subject: [PHP] SHA-1 Hi all- I searched the mailing list archive

[PHP] SHA-1

2001-07-19 Thread Gianluca Baldo
Hi all- I searched the mailing list archive but without success. What I am looking for is a PHP implementation of the SHA-1 algorithm. Does anybody know if it is available somewhere? Cheers, Gianluca -- ALBASOFTWARE C/ Mallorca 186 - 3º 1ª 08036 Barcelona (Spain) Tel. +34 93454009 - +34