473,218 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,218 software developers and data experts.

Cryptographie asymétrique en PHP.

Hello,
Is it possible to crypt and decrypt data which is based on public-key
technology, like RSA? (One private key and one public key)
With the library mcrypt?

Thanks.

Jul 17 '05 #1
2 1800
b.*********@gmail.com wrote:
Is it possible to crypt and decrypt data which is based on public-key
technology, like RSA? (One private key and one public key)
Yes.
With the library mcrypt?


According to the docs (and my limited knowledge of encryption): no

You could use the openssl extension or "pure" PHP scripts (which
propably depend on bc or gmp).

Jul 17 '05 #2
b.*********@gmail.com wrote:
Hello,
Is it possible to crypt and decrypt data which is based on public-key
technology, like RSA? (One private key and one public key)
With the library mcrypt?


No.

But on a sensible box you should be able to shell out to run gpg or openssl
or....

C.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.