-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
280 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php declare(strict_types=1); | ||
|
||
/** | ||
* Aes256Ccm.php | ||
* | ||
* PHP version 7 | ||
* | ||
* @category Dcrypt | ||
* @package Dcrypt | ||
* @author Michael Meyer (mmeyer2k) <m.meyer2k@gmail.com> | ||
* @license http://opensource.org/licenses/MIT The MIT License (MIT) | ||
* @link https://github.com/mmeyer2k/dcrypt | ||
*/ | ||
|
||
namespace Dcrypt; | ||
|
||
/** | ||
* Symmetric AES-256 CCM encryption functions powered by OpenSSL. | ||
* | ||
* @category Dcrypt | ||
* @package Dcrypt | ||
* @author Michael Meyer (mmeyer2k) <m.meyer2k@gmail.com> | ||
* @license http://opensource.org/licenses/MIT The MIT License (MIT) | ||
* @link https://github.com/mmeyer2k/dcrypt | ||
*/ | ||
class Aes256Ccm extends Aes256Gcm | ||
{ | ||
/** | ||
* AES-256 cipher identifier that will be passed to openssl | ||
* | ||
* @var string | ||
*/ | ||
const CIPHER = 'aes-256-ccm'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php declare(strict_types=1); | ||
|
||
/** | ||
* Aes256Cfb.php | ||
* | ||
* PHP version 7 | ||
* | ||
* @category Dcrypt | ||
* @package Dcrypt | ||
* @author Michael Meyer (mmeyer2k) <m.meyer2k@gmail.com> | ||
* @license http://opensource.org/licenses/MIT The MIT License (MIT) | ||
* @link https://github.com/mmeyer2k/dcrypt | ||
*/ | ||
|
||
namespace Dcrypt; | ||
|
||
/** | ||
* Symmetric AES-256 CFB encryption functions powered by OpenSSL. | ||
* | ||
* @category Dcrypt | ||
* @package Dcrypt | ||
* @author Michael Meyer (mmeyer2k) <m.meyer2k@gmail.com> | ||
* @license http://opensource.org/licenses/MIT The MIT License (MIT) | ||
* @link https://github.com/mmeyer2k/dcrypt | ||
*/ | ||
class Aes256Cfb extends Aes256Gcm | ||
{ | ||
/** | ||
* AES-256 cipher identifier that will be passed to openssl | ||
* | ||
* @var string | ||
*/ | ||
const CIPHER = 'aes-256-cfb'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.