paragonie / ciphersweet

Fast, searchable field-level encryption for PHP projects
https://ciphersweet.paragonie.com
Other
437 stars 32 forks source link

Polyfill AES-CTR if it's not provided by OpenSSL #1

Closed paragonie-scott closed 6 years ago

paragonie-scott commented 6 years ago

On older OpenSSL, aes-256-ctr isn't defined, but aes-256-ecb is.

The workaround is simple: We kill the Batman polyfill CTR mode.