Update CryptTrait.php

This commit is contained in:
Ilya Bulakh
2018-06-04 16:32:02 +03:00
committed by GitHub
parent 519543e925
commit a571e2262b

View File

@@ -1,6 +1,6 @@
<?php <?php
/** /**
* Public/private key encryption. * encrypt/decrypt with encryptionKey
* *
* @author Alex Bilbie <hello@alexbilbie.com> * @author Alex Bilbie <hello@alexbilbie.com>
* @copyright Copyright (c) Alex Bilbie * @copyright Copyright (c) Alex Bilbie
@@ -22,7 +22,7 @@ trait CryptTrait
protected $encryptionKey; protected $encryptionKey;
/** /**
* Encrypt data with a private key. * Encrypt data with encryptionKey.
* *
* @param string $unencryptedData * @param string $unencryptedData
* *
@@ -44,7 +44,7 @@ trait CryptTrait
} }
/** /**
* Decrypt data with a public key. * Decrypt data with encryptionKey.
* *
* @param string $encryptedData * @param string $encryptedData
* *