RSA - Signing hash algorithm?


I'm looking the code of your Sign method (RSA) and it seams to me that you do not hash the message that needs to be signed by using the private key?

Maybe you could add additional parameter in this function that would allow us to choose hash function which would be automatically used to hash the message before the signing process?

Hello Zeljko,

You are correct, our PSS scheme doesn't use SHA1 (we don't have SHA1 at
all) and we have not bundled SHA2 with it. We can look at that for the
next release of TMS CP.

Note that in ECC, we use SHA2 when signing.