JavaScript: fast RSA decryption using Chinese remainder algorithm
PHP: calculate the numbers needed for fast Chinese remainder algorithm so that we can store a private key