nielsmouthaan / SecureNSUserDefaults

NSUserDefaults category for iOS and Mac OS X with additional methods to securely save data using strong AES 256-bit encryption.
MIT License
179 stars 26 forks source link

SecureNSUserDefaults Secret #9

Closed AlexNsbmr closed 8 years ago

AlexNsbmr commented 8 years ago

Question conserning: [[NSUserDefaults standardUserDefaults] setSecret:@"secret]

If the secret is different from the previous one, all values will turn nil, 0 or NO then? Other question, what does happen if the secret is not set, I guess the datas are not encrypted, right?

I just went into the code. It has answered all my questions