+ 2
How to encrypt and decrypt data using php with private and public key
2 odpowiedzi
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+.
- 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.