B4J Question Encription with SHA512 and PKCS1

Pablo Torres

Active Member
Licensed User
Longtime User
Hi, I need to establish communication to a server and sign the data I send
They sent me by email a File (Testing.pfx) and the password for it (Pass)
I need to encode a string (strExample) using the pfx file and the password, with SHA512 and padding PKCS1

Have anyone any ideas on how to do that?

Any help will be much apprecciated

Many thanks
 

Pablo Torres

Active Member
Licensed User
Longtime User
I did Erel, search in the forum million times, read all the documentation 3 times at least, basically it's simplified chinese to me all about encryption.
I need a small example that I can use with my data.
I would be very glad if you or anyone else can provide me that

Many thanks
 
Upvote 0

KMatle

Expert
Licensed User
Longtime User
I did Erel, search in the forum million times, read all the documentation 3 times at least, basically it's simplified chinese to me all about encryption.
I need a small example that I can use with my data.
I would be very glad if you or anyone else can provide me that

Many thanks

It's a complex topic... SHA512 + PKCS1 is quite easy but it depends on the encryption (is it AES?). Can you send me the test psx-file + pw and I will take a quick look at it.
 
Upvote 0

Pablo Torres

Active Member
Licensed User
Longtime User
It's a complex topic... SHA512 + PKCS1 is quite easy but it depends on the encryption (is it AES?). Can you send me the test psx-file + pw and I will take a quick look at it.
I believe the Encryption is RSA (but I´m not sure), I will send you the files by PM
Many Thanks
 
Upvote 0
Top