mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Merge pull request #908 from fizzka/update-encryptionKey-comments
update encryptionKey comments
This commit is contained in:
commit
a7a1065e38
@ -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
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user