Android InApp Billing - what are really nonces for?

后端 未结 4 1566
Happy的楠姐
Happy的楠姐 2021-02-10 00:30

YES, I\'ve read all the docs @ developer.android.com and I do understand it all with one basic exception - what it was introduced for.

Since all order responses from Goo

4条回答
  •  渐次进展
    2021-02-10 01:09

    "The nonce acts like a salt on the transaction, similar to how *nix systems store passwords. The nonce is used to add entropy to the value that is encrypted with your key, largely eliminating the chance that two transactions are encrypted and result in the same signature, and other similar cryptographic attacks."

    see the answer by queso

提交回复
热议问题