Does mcrypt support asymmetric encryption?

Posted by bryanagee on Stack Overflow See other posts from Stack Overflow or by bryanagee
Published on 2010-04-15T23:29:52Z Indexed on 2010/04/15 23:33 UTC
Read the original article Hit count: 264

Filed under:
|
|
|
|

I want to use asymmetric encryption of headers in RESTful requests to verify the identity of the system sending the request: i e System A encrypts it's name, timestamp, and the service name using it's public key in a request to System B. System B then uses the public key of System A to decrypt, proving the authenticity of the request.

1) Does php-mcrypt support this?

2) Has anyone benchmarked this type of operation?

© Stack Overflow or respective owner

Related posts about php

Related posts about encryption