I couldn't find this information anywhere on here or on Google, so quick question: When using openssl_encrypt
should I be using the actual cipher names (i.e. "bf-cbc"
) or can I use the aliases (i.e. "blowfish"
)?
FWIW, I'm using PHP 5.6.34.
Bonus question: According to the PHP documentation, some of the methods have been proven to be weak, so which one is the strongest or which are the strongest amongst the methods that remain?