PAPasscode icon indicating copy to clipboard operation
PAPasscode copied to clipboard

Added support for SHA256 hashed passcodes

Open mattcroxson opened this issue 11 years ago • 3 comments

The hashedCode property can be used to signify that the passcode property will either return or be set as an SHA256 hashed string. Also included is the MIHashing class so an SHA256 hash string can easily be generated using [MIHashing hashForString:].

The CommonCrypto framework is required in addition to QuartzCore.

mattcroxson avatar Jul 21 '13 04:07 mattcroxson

Where does the MIHashing code come from? In particular, is it open source under the same license?

dhennessy avatar Jul 22 '13 10:07 dhennessy

Hi,

It's a class I put together inspired by various posts on Stack Overflow. Licence wise I consider it to be open source.

mattcroxson avatar Jul 22 '13 10:07 mattcroxson

Gotcha - thanks. Give me a day or so to review the changes.

dhennessy avatar Jul 22 '13 10:07 dhennessy