Store an encryption key in Keychain while application installation process

后端 未结 2 1717
清酒与你
清酒与你 2021-01-01 08:20

I need my application to use client\'s phone-number to generate unique ID for my web-service. Of course a phone-number is unique, but it must be secured. So it can be implem

2条回答
  •  灰色年华
    2021-01-01 09:03

    I don't think you're going to be able to do what you want securely with symmetric encryption. With asym you can send the public key without worrying about it too much (only threat is someone substituting your key with their own) and validate the encrypted unique id on your server with the private key.

提交回复
热议问题