+ 2

How to encrypt and decrypt data using php with private and public key

30th Dec 2016, 2:30 PM
Prince Jindal
Prince Jindal - avatar
2 Respostas
0
see comptia s+ for citation on CA role in ssl certs and what makes something a CA, internal(US Dpt of Defense uses internal ca.) or external(GoDaddy) CA. his question doesn't mention ssl, it mentions encryption. php has OpenSSL. the question is how to de/encrypt with key pairs in php, mcrypt is such an example. two step authentication can also include one time or multiuse keys exchanged by the server and user, also mentioned in comptia s+.
31st Dec 2016, 4:27 AM
Louis Milotte
Louis Milotte - avatar
- 1
encryption is not exclusive to ssl. php has encryption libraries that must be loaded by the server, such as mcrypt. this and other encryption methods can have their own keys. even hashing has a private key if issued to individual users and are unique. ssl is handled by the certificate authority.
30th Dec 2016, 8:02 PM
Louis Milotte
Louis Milotte - avatar