Hi,
I am thinking about using scrypt[0] to store my app’s private keys on the device. There are “KeyStore” mechanisms available on both on Android[1] and iOS[2] etc but they are different beasts with the need for device specific solutions for each.
It would be ideal to use NaCl[3] for the pk crypto and then use scrypt to store the private key on the device.
The same solution could then be used on all type of devices with all the benefits which comes with NaCl and scrypt.
The native “KeyStore” mechanisms in iOS and Android comes with their own pros of course.
Is this a lame idea? Anyone?
Cheers
/Joakim
[0] https://github.com/Tarsnap/scrypt
[1] https://developer.android.com/training/articles/keystore.html
[2] https://developer.apple.com/library/content/documentation/Security/Conceptual/keychainServConcepts/iPhoneTasks/iPhoneTasks.html
[3] https://nacl.cr.yp.to/box.html
