Current location - Quotes Website - Personality signature - What's the difference between two encryption extension libraries openssl mcrypt in PHP?
What's the difference between two encryption extension libraries openssl mcrypt in PHP?
Mcrypt extension includes more than 20 encryption algorithms and 8 encryption modes, excluding openssl, which is a public-private key network communication security protocol and an encryption mode. The openssl extension of php uses this protocol to encrypt and decrypt the transmitted data, not for https, which is an application based on ssl, automatically completed by browsers and servers, and has nothing to do with the openssl extension of php.