0

In this answer I use System.Security.Cryptography.DataProtectionScope.CurrentUser to encrypt a string on Windows. Is there an equivalent for iOS and Android, i.e. a certificate associated with the device/user that could be used to encrypt a string so I don't have to make up a key or certificate myself?

Community
  • 1
  • 1
David Clarke
  • 12,888
  • 9
  • 86
  • 116
  • In iOS , you are not allowed to identify a user by the device or any device identifier at all, it is against the policy. You should instead create a UUID and save that as a reference. Check this thread: http://stackoverflow.com/questions/30936371/how-to-identify-ios-device-uniquely-instead-of-using-uuid-and-udid –  Apr 06 '17 at 04:20
  • In Android you can use KeyChain for this – Meenal Apr 06 '17 at 04:48

0 Answers0