E
E
Emptyform2016-02-17 13:14:14
Cryptography
Emptyform, 2016-02-17 13:14:14

How to find out the encryption algorithm by the public key and signature example?

At work, a certain butt is used, which signs texts using a public key. The program is over 10 years old, no sources, no docks, no developers.
There was a need for another program to verify these signatures. Accordingly, the question is - can I somehow find out the applied algorithm (I want to believe, not self-written), if I have a public key and an example of a signature in my hands?
key:


0602000000000000525341310002000001000100C3506F92C9B415D2B4A85C16F2CA3D38331
E6B41254F5F838CA91775A9424113587Bea0380236878BF24E90F1274DF707402EB63CE0889
48F3DD25F9211327BC

signature:

8BEFE4A664F37179446530A6F6D1723F2C526C69D65F14AF64BCC681B5CE2A5F383C615BDB
3FBA637D169855732679F5F0FD9395AEA6BA744F4CA15913018442

(in fact, there are no hyphens in the key or in the signature, I inserted hyphens, otherwise a part is cut off on the page)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Martyanov, 2016-02-17
@Emptyform

The given public key is an encoded key blob in WinAPI format. RSA algorithm, key length 512 bits (not enough).
PS. He wrote garbage about the hash, first hash encryption, then encryption. So you need to decrypt the signature with the public key and see what happens there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question