#41 Different hashes in RSA constructions

Opened by fintohaps on Jul 14, 2021, 2:03 PM
// fintohaps on Jul 14, 2021, 2:03 PM

I noticed that in client.rs the RSA key is constructed with SignatureHash::SHA2_512, whereas when one parses it using parse_public_key – from key.rs – it will use SignatureHash::SHA2_256.

I’m just wondering why that might be?