Sam Spickle - 2020-06-19 12:41:23
A good article overall, and looks like it could be a good class - perhaps for a project I'm working with.
However, a couple statements in this article are unclear - if not misleading, which makes me wonder about the class itself.
First, you say "If this encryption algorithm ever becomes compromised, the class will default to a newer and stronger algorithm." That sounds 'wonderful', yet also 'mystical' (just where/how does the class 'know' the algorithm became compromised? does it poll a server/service somewhere? is that secure, or leaking my data??)
Then, you state "...new data you encrypt will automatically gain the use of the latest in crypto ciphers. All you will need to do is update your PHP Simple Encryption library." - oh, then what happened to the "default to a newer and stronger" bit??? and, where is that "automatically" part if I have to update the library???
The text simply is not clear, and as I said, I feel it is a bit misleading (or perhaps 'salesy' is a better term.... :)