1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 12:00:06 +02:00
Oinktube/vendor/singpolyma/openpgp-php/examples
Daniel 2a9630258f https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556
Also check the lang in case insensitive
2022-03-14 14:28:38 -03:00
..
armorEncryptSignCompress.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
clearsign.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
deASCIIdeCrypt.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
encryptDecrypt.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
keygen.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
keygenEncrypted.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
keygenSubkeys.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
README.md https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
sign.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00
verify.php https://github.com/WWBN/AVideo/issues/6345#issuecomment-1067056556 2022-03-14 14:28:38 -03:00

OpenPGP.php Examples

The scripts in this folder show how to use this library to perform various tasks such as generating a new key, signing a message, and verifying a message that has been signed.

To use these examples, make sure phpseclib is available. You can install it using Composer:

git clone https://github.com/singpolyma/openpgp-php.git # Clone the repository.
cd openpgp-php
composer install # Use Composer to install the requirements.

Once Composer has installed the requirements, run the examples using PHP:

# Generate a new OpenPGP key; see the `keygen.php` file for parameters.
php ./examples/keygen.php > mykey.gpg