hohl / MIHCrypto

OpenSSL wrapper for Objective-C [cryptography]
MIT License
341 stars 68 forks source link

Add signWithMD5 that is able to sign data with RSA private key using md5 #43

Closed hqsiswiliam closed 8 years ago

hqsiswiliam commented 8 years ago

Add signWithMD5 that is able to sign data with RSA private key using md5

hohl commented 8 years ago

Thank you very much for your contribution! I'll have a look at your changes and if everything is fine it'll get merged into the repo.

hohl commented 8 years ago

Looks great, but can you please add unit tests to keep test coverage up? It shouldn't be a big deal since you could just copy the test cases from SHA and modify the expected results to the ones which fits the MD5 specification.

hqsiswiliam commented 8 years ago

Hi, thanks for your project. I added the unit test with "verifySignatureWithMD5" method.