r/programming • u/sarciszewski • Nov 25 '15
Don't use the OWASP PHPSec Crypto Library
https://gist.github.com/paragonie-scott/91893fdb18ee4d1a1b95
38
Upvotes
r/programming • u/sarciszewski • Nov 25 '15
View all comments
Show parent comment
1
u/sarciszewski Nov 25 '15 edited Nov 25 '15
Look, my background is in infosec and cryptography. I catch more shit from my peers for trying to help the PHP community than you can imagine, and my standard retort is this:
PHP 7 got a CSPRNG at least in part because of my efforts. 7.1 will have serious security improvements, and future iterations will improve.
Instead of saying "PHP is bad don't use it", I look for things that can be fixed in a future version of the language. But when I pressure people, all they do is bike-shed heavily about the type system (and completely ignore the changes coming in version 7).
Just so you know, modern PHP encourages the use of shared code (e.g. through Composer). A lot of things that you suspect you have to go out of your way to make secure? Most developer just use a library to take care of those concerns for them.