Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Van Nguyen <[email protected]>
  • Loading branch information
nguyennv committed Sep 25, 2024
1 parent 9133362 commit 08c8374
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 131 deletions.
260 changes: 130 additions & 130 deletions examples/key-decrypting.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,69 +4,69 @@

use OpenPGP\OpenPGP;

$passphase = 'password';
$passphase = 'Ax@2bGh;SxD&"A_;El%mPIvLx_!#3Aik';

$keyData = <<<EOT
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: PHP Privacy v2
Comment: https://github.com/web-of-trust/php-privacy
xcMGBGbzdF4BCAC9oH8ngWlGAdNw1MDM5uSU0TF+/ZT7zEX0bEtstJUICSaoXseMl986lHv6pveh
zRE/xDtKzjKK8EFhZOFtz+ZzH7w8HRT60Mfc2kQ8V/SbzxX2tiDt/FF05jB0B4CwNJahOPt9TTiF
h2IXl00Kbo5qTeqdOm833kGlXhp2TZugh7PFCE0HZ43Dff4jUDryrddblK5C1cYJXupLTDUwxllx
Xri5mtDoOlebW9ioujnUxfdiKpu1JjEI0by3LVRlTldl4kdeUOUKvs9Om6cP4KDlFhAYouAq0A+n
ie+0hN8SgdPZzxYQGCmjScEFsCrc5M7mZDok8Q7JoSzENUasurWRABEBAAH+BwMIr/wCH4yYQ9Tg
JgroodBa+Bf7rmhyu/1miYNjuYDp48HDsmfr0zD+pclIR9sLxsDzN73/4T1GlI7vPztkGZSJAxPv
8AvTEtGpPsqwSIKNS5INzSgewpNeEj/DA6X07TZetNI4gfwVtf9CIoyuNOAYZqytGVtlhKY+X0Or
wDMNpADUqNOU2ecC/M3B7miylycXWBs7Vf0qijSbHskcs75aQJBTlbiX3eleASQSfFlZ4I9FLW6a
rbEd0LADv93vaEZEGcwhvngzrmZ9eulsxnZlM6xcEGCxwvFUsx7O8TtV1Jk0WHubKVkAxRS+wq5P
4YHiaFedupRbxuUPN4yUMIU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khfPBZAgkBtlo1U828
+T6PzxvqtoEegF0ZQHxJDWPIc/yO6FKjPklMy9Rx11ZyOK6RNqy1gDo/P1VnD8Ijd5LRhiBasSpt
HYXHwEwEZvN+1xIFK4EEACMEIwQAaxyKF0GqutGOvqecwNq4EeU3qikm24tuNJd8CfdEETWymtua
aEZD4FUdFqshi+QmJ0RGYB9R9yFpTWJANvZGfDgB/5auAsBvTh5zlQRYcqN/s79HXGgfsHhvBSAE
ruOW3UdPQcD4wdYYi7D3SJUj3m9BjDHDvKmu3A2MSLCgKD8vuAgDAAoJ/gcDCKFUtRsiD7eW4OUz
B47o7XBi8bWWdbDg4L6zs3vCksArGErMpafTxY4zL3vxwh8LxyGOSEfSO/IAtYQvwzGAccDawDgx
9fvQxvdPqzah58fjZZjwRvLe74B4jIt2uUBitJe5SZViEGvqXJQRslRFFLdRwsA4BBgTCgBnBQJm
837XFiEECmg1JwuFYIxoauokSjDl5+deZUQJEEow5efnXmVEAhsMPBQAAAAAABMAIHNhbHRAd2Vi
b2Z0cnVzdC5vcmdiuw5nTdeo697B284O829/BjCcXC+TUfCyEM6cWhGZMQAAeIkCBiVoTUmbUb3e
9QoEjFMYvEBukbaCrJgryimqeTmJAUXMcgQaAyZLJSjEWi+adSEco9jwxl2ERPF4iJXZrgQiOvLK
AgkBOYQwtx3Bwe9wnbmbPzfF85qcoXQ2Lz6t5fmqzlqf3r3OtWzSyWbMEzC1ZdWTFE/RKcLsOhLZ
h2en6HvwU70R0BQ=
=15wT
-----END PGP PRIVATE KEY BLOCK-----
EOT;
echo 'Decrypt Ecc private key' . PHP_EOL;
Expand All @@ -129,27 +129,27 @@
Version: PHP Privacy v2
Comment: https://github.com/web-of-trust/php-privacy
xX0GZvN0XxsAAAAguZIOKaq+iKLgYkkrCADGSIcYg5agqAfHtNAEJqSxdvr+HQcLAwhQs9XrZ2Gw
veCKQN4W0QoL5H84yIoZ0nNW7PrdvR9GVXDyjKzUU7JguqZW1OzZYw80UK5BEBSHEGTw0C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ZXRuYW0uY29tPsK7BhAbCAAAAFwFAmbzftciIQYLfjtdj/UV5gHl
ZfcFMJ6Ke9ev9rKvkcOHpWTraKKGagkQC347XY/1FeYCGwMDCwcJBCIBAgMFFQgMCg4FFgABAgMC
HgsNJwcBCQEHAgkCBwMJAwAAAABUZxBN8BwLTv+kUMGiDjnhQmFp3c2kxE0pxPt8bVxECyC4dnQy
D7tm7ADA4ARHAewWJBpbrk+ebJQ7UE82t49FWMRafi0Fa+GSgOdwdGONSx19C8d9BmbzftcZAAAA
IBOea5n9NJN1t+BwL3DQ0CSSzz7px4fG2+mUGOMDtUM6/h0HCwMIzDB2lTsp8LzglO8FYN79WOnZ
Fh1xEf4FY+t34w/7G+j50WKZOfSoAUxF9iA+hDmV2eBsEvhIK1lxDQmsk3aKjWC80/hMNPwiChdN
WoTClQYYGwgAAAA2BQJm837XIiEGC347XY/1FeYB5WX3BTCeinvXr/ayr5HDh6Vk62iihmoJEAt+
O12P9RXmAhsMAAAAAFyXEINWSWM0kFOrQi9dSyWz3QwlxuNVkw18lJNG1ERQvqsrk9h4gfATRvIG
iifJtGDxIsDjLBx8u9lEBTPFPKQbMrh4Gx7OL87S2a3yKJlkdsoJ1RexF+OhHlcTHORBJRF1UMiY
9jMDW8IANQ==
=kJoZ
-----END PGP PRIVATE KEY BLOCK-----
EOT;
echo 'Decrypt Curve25519 private key' . PHP_EOL;
Expand All @@ -168,33 +168,33 @@
Version: PHP Privacy v2
Comment: https://github.com/web-of-trust/php-privacy
xa8GZvN0YBwAAAA534/3zVc63Sa9eHXzlaC/ncdqDD3sERDopoOFnBMenmPPuTZtTZT38/xeCdIk
IASKr143GjmU1n6A/h0HCwMIUspY5LdtZ0vgRGMLBfRpTCYK8lz0JPyLCs+iJTv2EG7fY/op/Dyj
8aB7TlqG23ZFuPtyGQx/4sT6ag+1AYsLqFKWmEiCCH9Rlb07RMDrPpBLDg5CSypBHCbuo0OYSSpv
sovt+QEQwsA9Bh8cCgAAAFwFAmbzdGAiI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bgPlGehL+uCaJnK8VYk+uRjvEZkC2MUJm+wI
OewG+h8IsGSxSh8ua6+owE6rZjmXA/UpDqLiR3Jvy9vxg8QQmVlUZbh+Ztta6I1YmrfGMVCUGc69
TKl7KpcignYL99Lz5W3xL8LAFwYYHAoAAAA2BQJm837YIiEGo2aV99kFPWIpbg32Og1IuidzDZw9
T3G4KljIp8kP6iAJEKNmlffZBT1iAhsMAAAAAOvKIJ7+IJ4dztxkR2rRmf5DphiMHDJ+lSXr+Svs
qbDWAvsfIsNeKdP88/5gc94Dxh10xPSaS82akzoJ7RHMQ74zGIwexOlKRoBa9qLeDmkbO8rTE77m
3ngJsSoA2EqaRkPmjChELp6nGWPCZPyOa7ExcBkKrjiq8xMsnvjWdVsZ0BL8b93ER626rRzE9j5C
nWWFLDsA1Ri3Rbu551qo3Xk4o5gVhSC0J+7ZMZyQq2g=
=YGCQ
-----END PGP PRIVATE KEY BLOCK-----
EOT;
echo 'Decrypt Curve448 private key' . PHP_EOL;
Expand Down
Loading

0 comments on commit 08c8374

Please sign in to comment.