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 RS

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

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 ).. If you want to do RSA public key encryption you will need to use an external application such as gpg or pgp. Also please note if

[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