RSA sign with MD5 encryption (General questions)
Hi there:
I would like some advise with this. I am trying to do a RSA sign with MD5 encryption. I currently did this:
'Declaracion de variables
Dim Crypt As New wodCryptCom
Dim bufIn As New MemBlob
Dim bufOut As New MemBlob
Dim Key As New Keys
'Carga de la firma
Key.Load pem.key , abcde123
'Establezco cadena
bufIn.Text = CADENA|16|20|36|50
'Se hace el firmado (con la llave RSA)
Crypt.Type = RSA
Crypt.SecretKey = Key.PrivateKey(RSAkey)
Crypt.Sign bufIn, bufOut
MsgBox bufOut.ToBase64
If I do that, is the component hashing the chain in MD5 and then, signing it with the RSA key? Thank you.