cunheise / weixin-aes-wrapper
a wrapper for weixin ase lib
0.0.1
2018-07-27 06:16 UTC
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2025-01-11 19:52:50 UTC
README
Install
composer require cunheise/weixin-aes-wrapper
Library
a wrapper for weixin ase lib
Sample
require dirname(__DIR__) . '/vendor/autoload.php';
$decrypter = new \Wx\Decrypter(['appid' => 'wx4f4bc4dec97d474b', 'session_key' => 'tiihtNczf5v6AKRyjwEUhQ==']);
echo $decrypter->decrypt(['iv' => 'r7BXXKkLb8qrSNn05n0qiA==', 'encrypted_data' => 'CiyLU1Aw2KjvrjMdj8YKliAjtP4gsMZM
QmRzooG2xrDcvSnxIMXFufNstNGTyaGS
9uT5geRa0W4oTOb1WT7fJlAC+oNPdbB+
3hVbJSRgv+4lGOETKUQz6OYStslQ142d
NCuabNPGBzlooOmB231qMM85d2/fV6Ch
evvXvQP8Hkue1poOFtnEtpyxVLW1zAo6
/1Xx1COxFvrc2d7UL/lmHInNlxuacJXw
u0fjpXfz/YqYzBIBzD6WUfTIF9GRHpOn
/Hz7saL8xz+W//FRAUid1OksQaQx4CMs
8LOddcQhULW4ucetDf96JcR3g0gfRK4P
C7E/r7Z6xNrXd2UIeorGj5Ef7b1pJAYB
6Y5anaHqZ9J6nKEBvB4DnNLIVWSgARns
/8wR2SiRS7MNACwTyrGvt9ts8p12PKFd
lqYTopNHR1Vf7XjfhQlVsAJdNiKdYmYV
oKlaRv85IfVunYzO0IKXsyl7JCUjCpoG
20f0a04COwfneQAGGwd5oa+T8yO5hzuy
Db/XcxxmK01EpqOyuxINew==']);
License
Copyright 2008-2018.
Licensed under the GNU Lesser General Public License, Version 3.0