Skip to content

Commit 6122a38

Browse files
committed
👌Remove the old and ugly file doc blocks
1 parent 4e34122 commit 6122a38

18 files changed

+1
-422
lines changed

‎src/Aes.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Aes.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* A shorthand alias for Aes256Gcm to prevent typos and make neater code.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
*/
307
class Aes extends Aes256Gcm
318
{
329
}

‎src/Aes256Cbc.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Aes256Cbc.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* Symmetric AES-256 GCM encryption functions powered by OpenSSL.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
*/
307
class Aes256Cbc extends Aes256Gcm
318
{
329
/**

‎src/Aes256Ccm.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Aes256Ccm.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* Symmetric AES-256 CCM encryption functions powered by OpenSSL.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
*/
307
class Aes256Ccm extends Aes256Gcm
318
{
329
/**

‎src/Aes256Cfb.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Aes256Cfb.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* Symmetric AES-256 CFB encryption functions powered by OpenSSL.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
*/
307
class Aes256Cfb extends Aes256Gcm
318
{
329
/**

‎src/Aes256Ctr.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Aes256Ctr.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* Symmetric AES-256 CTR encryption functions powered by OpenSSL.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
*/
307
class Aes256Ctr extends Aes256Gcm
318
{
329
/**

‎src/Aes256Ecb.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Aes256Ecb.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* Symmetric AES-256 ECB encryption functions powered by OpenSSL.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
*/
307
class Aes256Ecb extends Aes256Gcm
318
{
329
/**

‎src/Aes256Gcm.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Aes256Gcm.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* Symmetric AES-256 GCM encryption functions powered by OpenSSL.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
*/
307
class Aes256Gcm extends OpensslBridge
318
{
329
/**

‎src/Aes256Ofb.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* Aes256Ofb.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* Symmetric AES-256 GCM encryption functions powered by OpenSSL.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
*/
307
class Aes256Ofb extends Aes256Gcm
318
{
329
/**

‎src/Exceptions/InvalidChecksumException.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,10 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* InvalidChecksumException.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt\Exceptions;
196

207
use Exception;
218

22-
/**
23-
* A handler for checksum exceptions.
24-
*
25-
* @category Dcrypt
26-
*
27-
* @author Michael Meyer (mmeyer2k) <[email protected]>
28-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
29-
*
30-
* @link https://github.com/mmeyer2k/dcrypt
31-
*/
329
class InvalidChecksumException extends Exception
3310
{
3411
protected $message = 'Invalid ciphertext checksum';

‎src/Exceptions/InvalidKeyEncodingException.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,10 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* InvalidKeyException.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt\Exceptions;
196

207
use Exception;
218

22-
/**
23-
* A handler for key exceptions.
24-
*
25-
* @category Dcrypt
26-
*
27-
* @author Michael Meyer (mmeyer2k) <[email protected]>
28-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
29-
*
30-
* @link https://github.com/mmeyer2k/dcrypt
31-
*/
329
class InvalidKeyEncodingException extends Exception
3310
{
3411
protected $message = 'Key must be base64 encoded';

‎src/Exceptions/InvalidKeyLengthException.php

-23
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,10 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* InvalidKeyException.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt\Exceptions;
196

207
use Exception;
218

22-
/**
23-
* A handler for key exceptions.
24-
*
25-
* @category Dcrypt
26-
*
27-
* @author Michael Meyer (mmeyer2k) <[email protected]>
28-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
29-
*
30-
* @link https://github.com/mmeyer2k/dcrypt
31-
*/
329
class InvalidKeyLengthException extends Exception
3310
{
3411
protected $message = 'Key must be at least 32 bytes';

‎src/OneTimePad.php

-24
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,8 @@
22

33
declare(strict_types=1);
44

5-
/**
6-
* OneTimePad.php.
7-
*
8-
* PHP version 7
9-
*
10-
* @category Dcrypt
11-
*
12-
* @author Michael Meyer (mmeyer2k) <[email protected]>
13-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
14-
*
15-
* @link https://github.com/mmeyer2k/dcrypt
16-
*/
17-
185
namespace Dcrypt;
196

20-
/**
21-
* A one time pad stream encryption class.
22-
*
23-
* @category Dcrypt
24-
*
25-
* @author Michael Meyer (mmeyer2k) <[email protected]>
26-
* @license http://opensource.org/licenses/MIT The MIT License (MIT)
27-
*
28-
* @link https://github.com/mmeyer2k/dcrypt
29-
* @link http://en.wikipedia.org/wiki/Stream_cipher
30-
*/
317
class OneTimePad
328
{
339
/**

0 commit comments

Comments
 (0)