News for hackers. Stuff that matters.
Re:If your cipher were secure, this image wouldn't have repe... by Gibbon1 on Friday February 28, 2020 @08:35PM (#22448057)
I remember on an old crypto mailing list some lowly PHP programmer asking if instead of a grab bag of primitives there was some library where he could just encrypt/decrypt a random object. Without having to build a Frankenstein thing out of random cryptographic parts.

Everyone peed on him and he never came back.

The poor sap was right though. The proven algorithms tend to fail catastrophically when used or implemented incorrectly.

Re:If your cipher were secure, this image wouldn't have repe... by larzang on Friday February 28, 2020 @10:29PM (#22448583)
Ironically now PHP is one of the few high-level languages doing this right, with built-in libsodium support and an excellent idiot-proof library available in Halite on top of that.
Re:If your cipher were secure, this image wouldn't have repe... by jjeaff on Friday February 28, 2020 @11:19PM (#22448791)
Agreed. And it even has a global you can use for the cipher that is updated along with the php version.