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.
client.rs
SignatureHash::SHA2_512
parse_public_key
key.rs
SignatureHash::SHA2_256
I’m just wondering why that might be?
I noticed that in
client.rs
the RSA key is constructed withSignatureHash::SHA2_512
, whereas when one parses it usingparse_public_key
– fromkey.rs
– it will useSignatureHash::SHA2_256
.I’m just wondering why that might be?