replace SHA256/SHA512 prefix with sha256/sha512 (OpenSSL clash)