r/programming • u/sarciszewski • Nov 25 '15
Don't use the OWASP PHPSec Crypto Library
https://gist.github.com/paragonie-scott/91893fdb18ee4d1a1b95
34
Upvotes
r/programming • u/sarciszewski • Nov 25 '15
View all comments
Show parent comment
-1
u/NeuroXc Nov 26 '15 edited Nov 26 '15
Stupid people have written things online trying to teach people how to use a thing? Must mean the thing itself is terrible.
This can be said about a lot of languages.
This can be said about any language. Most concepts in web security are not specific to one programming language. SQL injection, XSS, authentication, password hashing, encryption, etc., are things that exist in and are easy to mess up in any programming language if you don't understand what you're doing. The reason it looks like people mess these up more frequently in PHP is because PHP is used more than other languages for web development, especially by beginners, because it's dead easy to install LAMP (or MAMP or WAMP) and be able to play in PHP in very little time. Ruby and Python take significantly more setup to be accessible through a web server. They are not friendly to beginners for web development.
Has PHP made bad design choices in the past? Yes. Has it made better design choices in the past 5 years than it did when it was first created? Also yes. Has the web development community decided that it's time to stop being childish and hating on PHP at every opportunity? Apparently not.