Hi! > I'm cool with that idea but I also think it should be spelled out like ` > random_crypto_*()` as Pierre suggests. I like `secure_random_bytes()` but > that's because it's what Ruby names their CSPRNG. :)
The custom is that the first word names the function group (yes, I know old functions do not follow it, but this is new one). Unless we're going to introduce a group of functions called secure_*, random_* is a natural choice. I would be careful with using words like "secure", "crypto" etc. in general because they may be easily misunderstood - something like random_bytes() would do as well I think. -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php