简体   繁体   中英

Pubnub in ios What is cipher and secret key used

我正在使用pubnub示例代码,其中它需要我拥有的通道号,但还需要我没有的密码和秘密密钥,所以请告诉我pubnub中使用的密码和秘密密钥是什么

What is a Cipher Key vs Secret Key

Cipher Key

A Cipher Key is the "secret" or "password" used in Symmetric Cryptography Algorithms such as AES256. The PubNub data streaming network provides embedded AES256 encryption options. We invested in providing cross-device compatible AES256, with your iOS, Android and 50 more SDKs we allow apps to communicate using the same algorithm securely. When you specify the cipher_key optional parameter with a text string cipher, you automatically enabled symmetric encryption/decryption communication mode with your supplied cipher key.

Secret Key

The Secret Key is also just as important to keep super secret! The PubNub SDK offers administrative controls when the Secret Key is provided at SDK initialization time. These administrative capabilities include:

  1. Grant/Revoke and Audit of ACL Access Management when PubNub Access Manager is enabled.
  2. Reading Account-wide Settings.
  3. Reading Analytics and Usage Metrics.
  4. Changing Account-wide Settings and Add-ons.
  5. Managing Access Keys.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM