Taylor Hornby
Taylor Hornby
While working on defuse/php-encryption I found a bug in ourStrlen. I don't think it actually affects this library's use of it, but I should update it anyway in case someone...
Put this in a namespace (coordinate with php-encryption).
This code _needs_ good unit tests. There's no excuse. The bug in #2 could have been a security disaster, but luckily it wasn't.
I avoided this because it probably involves sample rate conversion, and I have no idea how to do that.