Please sign in to comment.
Use OPENSSL constants rather than a bool
`OPENSSL_RAW_DATA` should be used rather than boolean `true` to specify the options for openssl_encrypt/openssl_decrypt. Other options are `OPENSSL_ZERO_PADDING` (which has the value of 2), which can be useful to implement PKCS7 padding rather than the default null padding OpenSSL uses. (If you want both, you need to provide the value of 3)
- Loading branch information...