Skip to content

Commit

Permalink
Moved the interfaces for the utility container objects to the proper …
Browse files Browse the repository at this point in the history
…namespace.
  • Loading branch information
TonyKaravasilev committed Feb 17, 2020
1 parent c036684 commit be9b1c0
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
* Interface for security asymmetric key pair generation capabilities.
*/

namespace CryptoManana\Core\Interfaces\Randomness;
namespace CryptoManana\Core\Interfaces\Containers;

use \CryptoManana\DataStructures\KeyPair as KeyPairStructure;

/**
* Interface AsymmetricKeyPairGenerationInterface - Interface for asymmetric key pair generation.
*
* @package CryptoManana\Core\Interfaces\Randomness
* @package CryptoManana\Core\Interfaces\Containers
*/
interface AsymmetricKeyPairGenerationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* Interface for specifying data shuffling capabilities.
*/

namespace CryptoManana\Core\Interfaces\Randomness;
namespace CryptoManana\Core\Interfaces\Containers;

/**
* Interface DataShufflingInterface - Interface for data shuffling capabilities.
*
* @package CryptoManana\Core\Interfaces\Randomness
* @package CryptoManana\Core\Interfaces\Containers
*/
interface DataShufflingInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* Interface for specifying element picking/choosing capabilities.
*/

namespace CryptoManana\Core\Interfaces\Randomness;
namespace CryptoManana\Core\Interfaces\Containers;

/**
* Interface ElementPickingInterface - Interface for element picking capabilities.
*
* @package CryptoManana\Core\Interfaces\Randomness
* @package CryptoManana\Core\Interfaces\Containers
*/
interface ElementPickingInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* Interface for security encryption key and initialization vector (IV) generation capabilities.
*/

namespace CryptoManana\Core\Interfaces\Randomness;
namespace CryptoManana\Core\Interfaces\Containers;

/**
* Interface EncryptionKeyGenerationInterface - Interface for encryption key and IV generation.
*
* @package CryptoManana\Core\Interfaces\Randomness
* @package CryptoManana\Core\Interfaces\Containers
*/
interface EncryptionKeyGenerationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* Interface for specifying file erasure capabilities.
*/

namespace CryptoManana\Core\Interfaces\Randomness;
namespace CryptoManana\Core\Interfaces\Containers;

/**
* Interface FileErasureInterface - Interface for file erasure capabilities.
*
* @package CryptoManana\Core\Interfaces\Randomness
* @package CryptoManana\Core\Interfaces\Containers
*/
interface FileErasureInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* Interface for security hashing key and salt string generation capabilities.
*/

namespace CryptoManana\Core\Interfaces\Randomness;
namespace CryptoManana\Core\Interfaces\Containers;

/**
* Interface HashingKeyGenerationInterface - Interface for hashing key and salt string generation.
*
* @package CryptoManana\Core\Interfaces\Randomness
* @package CryptoManana\Core\Interfaces\Containers
*/
interface HashingKeyGenerationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* Interface for security token and password string generation capabilities.
*/

namespace CryptoManana\Core\Interfaces\Randomness;
namespace CryptoManana\Core\Interfaces\Containers;

/**
* Interface TokenGenerationInterface - Interface for security token and password generation.
*
* @package CryptoManana\Core\Interfaces\Randomness
* @package CryptoManana\Core\Interfaces\Containers
*/
interface TokenGenerationInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/CryptoManana/Utilities/DataShuffler.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace CryptoManana\Utilities;

use \CryptoManana\Core\Abstractions\Containers\AbstractRandomnessInjectable as RandomnessContainer;
use \CryptoManana\Core\Interfaces\Randomness\DataShufflingInterface as Shuffling;
use \CryptoManana\Core\Interfaces\Containers\DataShufflingInterface as Shuffling;
use \CryptoManana\Core\StringBuilder as StringBuilder;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/CryptoManana/Utilities/ElementPicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace CryptoManana\Utilities;

use \CryptoManana\Core\Abstractions\Containers\AbstractRandomnessInjectable as RandomnessContainer;
use \CryptoManana\Core\Interfaces\Randomness\ElementPickingInterface as ElementChoosing;
use \CryptoManana\Core\Interfaces\Containers\ElementPickingInterface as ElementChoosing;
use \CryptoManana\Core\StringBuilder as StringBuilder;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/CryptoManana/Utilities/FileShredder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace CryptoManana\Utilities;

use \CryptoManana\Core\Abstractions\Containers\AbstractRandomnessInjectable as RandomnessContainer;
use \CryptoManana\Core\Interfaces\Randomness\FileErasureInterface as SecureFileErasure;
use \CryptoManana\Core\Interfaces\Containers\FileErasureInterface as SecureFileErasure;
use \CryptoManana\Core\Traits\CommonValidations\FileNameValidationTrait as ValidateFileNames;

/**
Expand Down
8 changes: 4 additions & 4 deletions src/CryptoManana/Utilities/TokenGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
namespace CryptoManana\Utilities;

use \CryptoManana\Core\Abstractions\Containers\AbstractRandomnessInjectable as RandomnessContainer;
use \CryptoManana\Core\Interfaces\Randomness\AsymmetricKeyPairGenerationInterface as KeyPairGeneration;
use \CryptoManana\Core\Interfaces\Randomness\EncryptionKeyGenerationInterface as EncryptionKeyGeneration;
use \CryptoManana\Core\Interfaces\Randomness\HashingKeyGenerationInterface as HashingKeyGeneration;
use \CryptoManana\Core\Interfaces\Randomness\TokenGenerationInterface as TokenStringGeneration;
use \CryptoManana\Core\Interfaces\Containers\AsymmetricKeyPairGenerationInterface as KeyPairGeneration;
use \CryptoManana\Core\Interfaces\Containers\EncryptionKeyGenerationInterface as EncryptionKeyGeneration;
use \CryptoManana\Core\Interfaces\Containers\HashingKeyGenerationInterface as HashingKeyGeneration;
use \CryptoManana\Core\Interfaces\Containers\TokenGenerationInterface as TokenStringGeneration;
use \CryptoManana\Core\Traits\CommonValidations\KeyPairSizeValidationTrait as KeyPairSizeValidations;
use \CryptoManana\DataStructures\KeyPair as KeyPairStructure;
use \CryptoManana\Core\StringBuilder as StringBuilder;
Expand Down

0 comments on commit be9b1c0

Please sign in to comment.