Skip to content

Commit

Permalink
Updated the technical API documentation generated via PHPDoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyKaravasilev committed Jan 26, 2020
1 parent cfa8700 commit 7341912
Show file tree
Hide file tree
Showing 400 changed files with 66,080 additions and 22,684 deletions.
2,222 changes: 2,222 additions & 0 deletions api/classes/CryptoManana.AsymmetricEncryption.Rsa1024.html

Large diffs are not rendered by default.

2,222 changes: 2,222 additions & 0 deletions api/classes/CryptoManana.AsymmetricEncryption.Rsa2048.html

Large diffs are not rendered by default.

2,222 changes: 2,222 additions & 0 deletions api/classes/CryptoManana.AsymmetricEncryption.Rsa3072.html

Large diffs are not rendered by default.

2,222 changes: 2,222 additions & 0 deletions api/classes/CryptoManana.AsymmetricEncryption.Rsa4096.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Compatibility.NativeHkdfSha3.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Compatibility.NativeHmacSha3.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Compatibility.NativePbkdf2Sha3.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Compatibility.NativeSha3.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/classes/CryptoManana.Core.StringBuilder.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,396 changes: 1,396 additions & 0 deletions api/classes/CryptoManana.Core.Traits.MessageEncryption.KeyPairTrait.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Core.Traits.Randomness.FloatOutputTrait.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Core.Traits.Randomness.RandomnessTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Core.Traits.Randomness.RgbOutputTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Core.Traits.Randomness.StringOutputTrait.html

Large diffs are not rendered by default.

163 changes: 96 additions & 67 deletions api/classes/CryptoManana.Exceptions.AccessDeniedException.html

Large diffs are not rendered by default.

163 changes: 96 additions & 67 deletions api/classes/CryptoManana.Exceptions.BadPracticeException.html

Large diffs are not rendered by default.

163 changes: 96 additions & 67 deletions api/classes/CryptoManana.Exceptions.BotDetectedException.html

Large diffs are not rendered by default.

163 changes: 96 additions & 67 deletions api/classes/CryptoManana.Exceptions.BreachAttemptException.html

Large diffs are not rendered by default.

163 changes: 96 additions & 67 deletions api/classes/CryptoManana.Exceptions.CryptographyException.html

Large diffs are not rendered by default.

163 changes: 96 additions & 67 deletions api/classes/CryptoManana.Exceptions.IncompatibleException.html

Large diffs are not rendered by default.

163 changes: 96 additions & 67 deletions api/classes/CryptoManana.Exceptions.MaliciousPayloadException.html

Large diffs are not rendered by default.

163 changes: 96 additions & 67 deletions api/classes/CryptoManana.Exceptions.UnsupportedException.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Factories.ExceptionFactory.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Factories.HashAlgorithmFactory.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Factories.RandomnessFactory.html

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/classes/CryptoManana.Factories.SymmetricCipherFactory.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Argon2.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Bcrypt.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfMd5.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfSha1.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfShaThree224.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfShaThree256.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfShaThree384.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfShaThree512.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfShaTwo224.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfShaTwo256.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfShaTwo384.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfShaTwo512.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HkdfWhirlpool.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacMd5.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacSha1.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacShaThree224.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacShaThree256.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacShaThree384.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacShaThree512.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacShaTwo224.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacShaTwo256.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacShaTwo384.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacShaTwo512.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.HmacWhirlpool.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Md5.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2Md5.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2Sha1.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2ShaThree224.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2ShaThree256.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2ShaThree384.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2ShaThree512.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2ShaTwo224.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2ShaTwo256.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2ShaTwo384.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2ShaTwo512.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Pbkdf2Whirlpool.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Sha1.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.ShaThree224.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.ShaThree256.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.ShaThree384.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.ShaThree512.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.ShaTwo224.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.ShaTwo256.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.ShaTwo384.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.ShaTwo512.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Hashing.Whirlpool.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/classes/CryptoManana.Randomness.CryptoRandom.html

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/classes/CryptoManana.Randomness.PseudoRandom.html

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/classes/CryptoManana.Randomness.QuasiRandom.html

Large diffs are not rendered by default.

181 changes: 104 additions & 77 deletions api/classes/CryptoManana.SymmetricEncryption.Aes128.html

Large diffs are not rendered by default.

181 changes: 104 additions & 77 deletions api/classes/CryptoManana.SymmetricEncryption.Aes192.html

Large diffs are not rendered by default.

181 changes: 104 additions & 77 deletions api/classes/CryptoManana.SymmetricEncryption.Aes256.html

Large diffs are not rendered by default.

181 changes: 104 additions & 77 deletions api/classes/CryptoManana.SymmetricEncryption.Camellia128.html

Large diffs are not rendered by default.

181 changes: 104 additions & 77 deletions api/classes/CryptoManana.SymmetricEncryption.Camellia192.html

Large diffs are not rendered by default.

181 changes: 104 additions & 77 deletions api/classes/CryptoManana.SymmetricEncryption.Camellia256.html

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/classes/CryptoManana.Utilities.DataShuffler.html

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/classes/CryptoManana.Utilities.ElementPicker.html

Large diffs are not rendered by default.

372 changes: 296 additions & 76 deletions api/classes/CryptoManana.Utilities.TokenGenerator.html

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions api/files/AsymmetricEncryption.Rsa1024.html

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions api/files/AsymmetricEncryption.Rsa2048.html

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions api/files/AsymmetricEncryption.Rsa3072.html

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions api/files/AsymmetricEncryption.Rsa4096.html

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions api/files/AsymmetricEncryption/Rsa1024.php.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/**
* The RSA-1024 encryption algorithm class.
*/

namespace CryptoManana\AsymmetricEncryption;

use \CryptoManana\Core\Abstractions\MessageEncryption\AbstractRsaEncryption as RsaAlgorithm;

/**
* Class Rsa1024 - The RSA-1024 encryption algorithm object.
*
* @package CryptoManana\AsymmetricEncryption
*/
class Rsa1024 extends RsaAlgorithm
{
/**
* The internal key size measured in raw bytes length for the algorithm
*
* @internal For the current algorithm: 1024 bits (128 bytes)
*/
const KEY_SIZE = 1024;
}

25 changes: 25 additions & 0 deletions api/files/AsymmetricEncryption/Rsa2048.php.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/**
* The RSA-2048 encryption algorithm class.
*/

namespace CryptoManana\AsymmetricEncryption;

use \CryptoManana\Core\Abstractions\MessageEncryption\AbstractRsaEncryption as RsaAlgorithm;

/**
* Class Rsa2048 - The RSA-2048 encryption algorithm object.
*
* @package CryptoManana\AsymmetricEncryption
*/
class Rsa2048 extends RsaAlgorithm
{
/**
* The internal key size measured in raw bytes length for the algorithm
*
* @internal For the current algorithm: 2048 bits (256 bytes)
*/
const KEY_SIZE = 2048;
}

25 changes: 25 additions & 0 deletions api/files/AsymmetricEncryption/Rsa3072.php.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/**
* The RSA-3072 encryption algorithm class.
*/

namespace CryptoManana\AsymmetricEncryption;

use \CryptoManana\Core\Abstractions\MessageEncryption\AbstractRsaEncryption as RsaAlgorithm;

/**
* Class Rsa3072 - The RSA-3072 encryption algorithm object.
*
* @package CryptoManana\AsymmetricEncryption
*/
class Rsa3072 extends RsaAlgorithm
{
/**
* The internal key size measured in raw bytes length for the algorithm
*
* @internal For the current algorithm: 3072 bits (384 bytes)
*/
const KEY_SIZE = 3072;
}

25 changes: 25 additions & 0 deletions api/files/AsymmetricEncryption/Rsa4096.php.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/**
* The RSA-4096 encryption algorithm class.
*/

namespace CryptoManana\AsymmetricEncryption;

use \CryptoManana\Core\Abstractions\MessageEncryption\AbstractRsaEncryption as RsaAlgorithm;

/**
* Class Rsa4096 - The RSA-4096 encryption algorithm object.
*
* @package CryptoManana\AsymmetricEncryption
*/
class Rsa4096 extends RsaAlgorithm
{
/**
* The internal key size measured in raw bytes length for the algorithm
*
* @internal For the current algorithm: 4096 bits (512 bytes)
*/
const KEY_SIZE = 4096;
}

155 changes: 92 additions & 63 deletions api/files/Compatibility.NativeHkdfSha3.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Compatibility.NativeHmacSha3.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Compatibility.NativePbkdf2Sha3.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Compatibility.NativeSha3.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Abstractions.DesignPatterns.AbstractFactory.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Abstractions.DesignPatterns.AbstractSingleton.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Abstractions.ErrorHandling.AbstractException.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Abstractions.Randomness.AbstractGenerator.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Abstractions.Randomness.AbstractRandomness.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.MessageDigestion.DigestionKeyInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.MessageDigestion.FileHashingInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.MessageDigestion.ObjectHashingInterface.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions api/files/Core.Interfaces.MessageEncryption.KeyPairInterface.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.MessageEncryption.SecretKeyInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.ArbitraryBaseOutputInterface.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.DataShufflingInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.ElementPickingInterface.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.FloatOutputInterface.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.IdentifierOutputInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.RgbOutputInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.SeedableContainerInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.SeedableGeneratorInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.StringOutputInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Interfaces.Randomness.TokenGenerationInterface.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.StringBuilder.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.Containers.RandomnessInjectableTrait.html

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/files/Core.Traits.MessageDigestion.AlgorithmVariationTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.AlgorithmicCostTrait.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.DerivationContextTrait.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.DerivationSaltingTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.DigestionFormatsTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.DigestionKeyTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.FileHashingTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.ObjectHashingTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.RepetitiveHashingTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.SaltingCapabilitiesTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageDigestion.SecureVerificationTrait.html

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions api/files/Core.Traits.MessageEncryption.AsymmetricPaddingTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageEncryption.BlockOperationsTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageEncryption.CipherDataFormatsTrait.html

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/files/Core.Traits.MessageEncryption.FileEncryptionTrait.html

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions api/files/Core.Traits.MessageEncryption.KeyPairTrait.html

Large diffs are not rendered by default.

157 changes: 93 additions & 64 deletions api/files/Core.Traits.MessageEncryption.ObjectEncryptionTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.MessageEncryption.SecretKeyTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.Randomness.ArbitraryBaseOutputTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.Randomness.FloatOutputTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.Randomness.IdentifierOutputTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.Randomness.RandomnessTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.Randomness.RgbOutputTrait.html

Large diffs are not rendered by default.

155 changes: 92 additions & 63 deletions api/files/Core.Traits.Randomness.StringOutputTrait.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract class AbstractException extends PhpException implements EditablePropert
abstract public function getFrameworkErrorCode();

/**
* Change the exception's error message via a fluent interface call.
* Change the exception's error message via fluent interface call.
*
* @param string|mixed $message Set a different error message.
*
Expand All @@ -45,7 +45,7 @@ abstract class AbstractException extends PhpException implements EditablePropert
}

/**
* Change the exception's error code via a fluent interface call.
* Change the exception's error code via fluent interface call.
*
* @param int $code Set a different exception error code.
*
Expand All @@ -59,7 +59,7 @@ abstract class AbstractException extends PhpException implements EditablePropert
}

/**
* Change the file location where the exception occurred via a fluent interface call.
* Change the file location where the exception occurred via fluent interface call.
*
* @param string|mixed $file Set a different file path for the exception.
*
Expand All @@ -75,7 +75,7 @@ abstract class AbstractException extends PhpException implements EditablePropert
}

/**
* Change the file location where the exception occurred via a fluent interface call.
* Change the file location where the exception occurred via fluent interface call.
*
* @param int $line Set a different file line for the exception.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?php

/**
* The asymmetric encryption/signature algorithm abstraction specification.
*/

namespace CryptoManana\Core\Abstractions\MessageEncryption;

use \CryptoManana\Core\Interfaces\MessageEncryption\KeyPairInterface as PublicKeyCipher;
use \CryptoManana\Core\Traits\MessageEncryption\KeyPairTrait as PublicPrivateKeyPair;

/**
* Class AbstractAsymmetricEncryptionAlgorithm - The asymmetric algorithm abstraction representation.
*
* @package CryptoManana\Core\Abstractions\MessageEncryption
*
* @mixin PublicPrivateKeyPair
*/
abstract class AbstractAsymmetricEncryptionAlgorithm implements PublicKeyCipher
{
/**
* The asymmetric public and private key capabilities.
*
* {@internal Reusable implementation of `KeyPairInterface`. }}
*/
use PublicPrivateKeyPair;

/**
* The internal name of the algorithm.
*/
const ALGORITHM_NAME = 'none';

/**
* The internal key size measured in raw bytes length for the algorithm
*/
const KEY_SIZE = 0;

/**
* The private key string property storage.
*
* @var string The private key string value.
*/
protected $privateKey = '';

/**
* The public key string property storage.
*
* @var string The public key string value.
*/
protected $publicKey = '';

/**
* Internal method for the validation of plain data used at encryption/signing operations.
*
* @param string $plainData The plain input string.
*
* @throws \Exception Validation errors.
*/
abstract protected function validatePlainData($plainData);

/**
* Internal method for the validation of cipher/signature data used at decryption/verifying operations.
*
* @param string $cipherOrSignatureData The encrypted input string or a signature string.
*
* @throws \Exception Validation errors.
*/
abstract protected function validateCipherOrSignatureData($cipherOrSignatureData);

/**
* Asymmetrical algorithm constructor.
*/
abstract public function __construct();
}

Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ abstract class AbstractBlockCipherAlgorithm extends SymmetricCipherAlgorithm imp
/**
* The final block padding operation property.
*
* @var int The final block padding operation string value.
* @var int The final block padding operation integer code value.
*/
protected $padding = self::PKCS7_PADDING;

Expand Down Expand Up @@ -211,7 +211,7 @@ abstract class AbstractBlockCipherAlgorithm extends SymmetricCipherAlgorithm imp

// Wrong format verification
if ($plainData === false) {
throw new \RuntimeException(
throw new \InvalidArgumentException(
"The passed string was not from the chosen outputting format `{$this->getCipherFormat()}`."
);
}
Expand Down
Loading

0 comments on commit 7341912

Please sign in to comment.