-
Weighted random choice in PHP
PHP’s native random_int() function can be used to easily create a weighted random choice between multiple, otherwise equal options.
-
Verifying randomness in PHP [Part 2]
How random is random_bytes() in PHP? Are you sure?
-
Verifying randomness in PHP [Part 1]
How random is PHP’s random_int() function really?
-
Hashing is not encryption
Encryption, encoding, and hashing are three related but distinct concepts. It’s important for you to understand all three.
-
Lock picking can make you a better engineer
Learning to use a lock pick changes the way you see security and the way you think about code. It’s a great mental challenge and will help you build stronger, more secure systems.
-
Using a 3D printer for practical home repair
I taught myself 3D modeling so I could print and cast a bracket for my son’s bed out of epoxy. It was a hugely rewarding journey!
-
Demystifying forms of encryption
There are three types of encryption every developer should know: symmetric, asymmetric, and envelope (which is a combination of the previous two).
-
Prioritizing time for creativity
If you want to be more creative, you need to intentionally prioritize time to practice creativity.
-
End-to-end encrypted secret sharing
Secret sharing typically requires a trusted third party to communicate a secret from point A to B. Encrypting those secrets at point A and only allowing point B to decrypt them removes any risk in the transfer.
-
A new tech stack for WordPress
A solid blog starts with a solid foundation – in this case WordPress and the tech stack that powers it.

![Verifying randomness in PHP [Part 2]](https://i0.wp.com/eric.mann.blog/wp-content/uploads/2022/01/fig-08-01-2022_15-29-42.jpg?resize=150%2C150&ssl=1)






