[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scryptenc_buf/scryptdec_buf and key stores



Hi,
I am thinking about using scryptenc_buf/scryptdec_buf to store my app's
private keys on the device. There are "KeyStore" mechanisms available on
both on Android and iOS etc but they are different beasts with the need
for device specific solutions for each.

It would be ideal to use NaCl for the public-key cryptography and then use
scryptenc_buf/scryptdec_buf 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.

Anyone tried this? What maxmem, maxmemfrac and maxtime numbers did
you end up using in that case?

Cheers
/Joakim