Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
withinboredom
· 2y ago · 0 comments
I once reviewed a php library (don't remember which one but it was extremely popular) using `mb_strlen($string)` to get bytes to encrypt/decrypt. It was just waiting for someone to come along and en/decrypt with a non-english language.
Comments
[–]
CiPHPerCoder
2y ago
Was it similar to this?
https://github.com/facebookarchive/php-graph-sdk/pull/552#is...
[–]
withinboredom
OP
2y ago
That’s probably what they were going for, but no, it was just regular mb_stelen with a single arg.