login about faq

I am interested in encrypting using RSA with OAEP padding and SHA512 as the hash/mask algorithm. I'm pretty sure I ready OAEP is supported, but I didn't see anything about changing the internal hash/mask algorithm to SHA512. I assume it is using SHA1 by default.

See this question for more background:

http://stackoverflow.com/questions/28724696/ios-seckeyencrypt-oaep-sha512

asked Feb 25 '15 at 13:24

a432511's gravatar image

a432511
53


Thanks, I'll add an OaepHash property that allows for it to be controlled. Internally it can already handle any of the supported hash algorithms, so it's just a matter of specifying it from the public API. I'll post a download link when it's ready..

link

answered Feb 25 '15 at 14:59

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Awesome! So glad I found this library. iOS is a PIA when it comes to encryption. Cheers!

(Feb 25 '15 at 15:12) a432511
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×48

Asked: Feb 25 '15 at 13:24

Seen: 1,038 times

Last updated: Feb 25 '15 at 15:12

powered by OSQA