Encryption/Decryption
Posted: Thu Mar 06, 2003 5:54 pm
Hi there
This is the first time I have posted here and not sure if this is the best forum for this question but I'll try this room anyway so here it goes.
I am trying to write a public key encryption system based on the RSA Algorithm and have read lots of resources on the matter. I have however not an expert at PHP and so finding it hard to translate some of what I have read into php code.
What I am looking for is either a link or reply to this that can tell me how I can create the 3 values needed
n, e and d
where I need to create large prime numbers.
If anyone has information on creating large prime numbers and/or checking a value is a prime number whcih after reading information on the maths for this still has me confused that would be a great help or if anyone has the code or a link to source code for the RSA Algorithm I would very much appreciate it.
NOTE - I do not want to use extra moduals for this
Thanks
Fly
PS: why do I want this ?
I intend on combing this with javascript to let users send secure information when SSL is not avaliable.
This is the first time I have posted here and not sure if this is the best forum for this question but I'll try this room anyway so here it goes.
I am trying to write a public key encryption system based on the RSA Algorithm and have read lots of resources on the matter. I have however not an expert at PHP and so finding it hard to translate some of what I have read into php code.
What I am looking for is either a link or reply to this that can tell me how I can create the 3 values needed
n, e and d
where I need to create large prime numbers.
If anyone has information on creating large prime numbers and/or checking a value is a prime number whcih after reading information on the maths for this still has me confused that would be a great help or if anyone has the code or a link to source code for the RSA Algorithm I would very much appreciate it.
NOTE - I do not want to use extra moduals for this
Thanks
Fly
PS: why do I want this ?
I intend on combing this with javascript to let users send secure information when SSL is not avaliable.