RSA Encryption with PHP (code attached)

From: Date: Tue, 05 Mar 2002 17:53:59 +0000
Subject: RSA Encryption with PHP (code attached)
Groups: php.general 
Request: Send a blank email to php-general+get-87300@lists.php.net to get a copy of this message
Hi all, I currently trying to get RSA encryption working in PHP and have came up against a few issues that i hope somebody on here will be able to help me with. Basicly i have it mostly working and am able to generate keys OK and i can also encrypt/decrypt data that will fit into one message 'block' (their is currently no code to split a message up into blocks for encryption). The problem i have it that sometimes the encryption dosent seem to work correctly. I think that it is do to with me converting data back and forth between different bases and am 'losing' information somewhere along the line. Well if anybody on this list knows a bit about encryption or if you just want to help i would be very great full if you could look at the attached code and comment on where my problem might be coming from. I am making use of the gpm library so you will need that installed before you are able to run my code. Also please cc me directly on a any responses as they will get to me quicker then by just emailing the list alone. Regards, William. -- William Bailey. http://wb.pro-net.co.uk

« previous php.general (#87300) next »