ksmz/gplay-encryptedpasswd
Composer 安装命令:
composer require ksmz/gplay-encryptedpasswd
包简介
Handles the creation of the EncryptedPasswd field, required in Play Store's API calls
README 文档
README
Handles the creation of the "EncryptedPasswd" field, required by Play Store's internal APIs. This library is does not perform any additional tasks besides generating this field.
Install
composer require ksmz/gplay-encryptedpasswd
Usage
use ksmz\GPEncryptedPasswd\Encrypt; use ParagonIE\HiddenString\HiddenString; // Fetch your credentials from somewhere else. $gmailAddress = getenv('GOOGLE_EMAIL'); $gmailPassword = getenv('GOOGLE_PASSWORD'); // HiddenString hides sensitive information from backtraces. // Alternatively, this can be eventually be replaced by https://wiki.php.net/rfc/redact_parameters_in_back_traces in PHP 8.2 $encryptor = new Encrypt($gmailAddress, new HiddenString($gmailPassword)); echo $encryptor->encrypt(); // AFcb4KS4dW-knb6SS_VaeZRZVqSEZK9ExPO_zt8mgDISQBuEsLYwKzO9JYzar7m2Zjy5bih4MYkb0W46NMgYy_k0ckdehb_bmxrIjlTHHyPxMHH32P8GOlNjoSkt7QgmGEi5JbmoKFfYTo-9FNOioI-7W2l-e6zrw2OhOfSlYjvp2oHM1Q==
Credits/Other Libraries
https://github.com/subtletech/google_play_store_password_encrypter
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2019-02-06