I just noticed another issue: it uses
rand for cryptographic purposes, such as nonce generation (note: the statistical problems of
rand aren't as obvious on Linux as they are on MS Windows, but they're still there). Under PHP, about the only cryptographically decent pseudo-random generator is
openssl_random_pseudo_bytes, though to be truly cryptographically secure, you'd need true random numbers, such as by reading from /dev/urandom (which is available on the X10 servers).