Risks of Using SHA1 Instead of SHA256 for RSA OAEP Padding
I’m presently implementing a simple RSA-based encryption as follows in PHP (using openssl_public_encrypt):
// $sRawText is the text string to encrypt.
// $sPublicKey is the public key stored on the server.
openssl_public_encrypt($sRawText,… Continue reading Risks of Using SHA1 Instead of SHA256 for RSA OAEP Padding