encryption - Get list of PHP openssl_encrypt methods / modes -
i starting use php's openssl_encrypt method. second argument encryption mode. can find list of possible methods / modes?
while the manual scarce, looks can use openssl_get_cipher_methods() return array of available cipher methods:
print_r(openssl_get_cipher_methods()); the true argument return aliases them, might more recognisable, e.g. blowfish, des3 etc. see manual example.
Comments
Post a Comment