We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I made a pull request to remove the call to mcrypt that's still in the file. It can be replaced with an openSSL call, your code will still work.
// Build an initialisation vector // Replacing all mcrypt calls // $iv = mcrypt_create_iv($this->iv_num_bytes, MCRYPT_DEV_URANDOM); // Build an initialisation vector $iv = openssl_random_pseudo_bytes($this->iv_num_bytes, $isStrongCrypto); if (!$isStrongCrypto) { throw new \Exception("Not a strong key"); }
The text was updated successfully, but these errors were encountered:
Ref: #4
Sorry, something went wrong.
Pull request merged a while back; thanks again for improving the code.
No branches or pull requests
I made a pull request to remove the call to mcrypt that's still in the file. It can be replaced with an openSSL call, your code will still work.
The text was updated successfully, but these errors were encountered: