Releases: nd1012/wan24-Crypto
Releases · nd1012/wan24-Crypto
Version 2.20.0
Changes
Breaking changes
- Now using
MemoryPool<T>
instead ofArrayPool<T>
where possible - Now using
RentedMemory(Ref)<T>
where possible (many places) TimeoutToken
won't cast as serialized data anymore
Full Changelog: v2.19.0...v2.20.0
Version 2.19.0
Changes
Breaking changes
PasswordHelper.CheckPassword
argumentpwd
is aReadOnlyMemory<char>
nowCryptoOptions
object version increased to4
- Added
EncryptionAlgorithmBase.MaxCipherDataLength
- Added
EncryptionAlgorithmBase.MaxKeyUsageCount
PrivateKeySuite
object version increased to3
IAsymmetricAlgorithm
implementsILimitKeyUsageCount
now- Added
AsymmetricAlgorithmBase.MaxKeyUsageCount
- Added
EntropyHelper.EntropyAlgorithm_Delegate
parameterbyteCounters
EntropyHelper.Shannon(Bit|Byte)Entropy
has different return values now
Additions
- Added
StreamRandomSource
- Added
PasswordHelper.OnValidation
event - Added
AutoSeedRngWrapper<T>
- Added
ToRandomDouble
extension forMemory<byte>
- Added
CryptoEnvironment.Options.DefaultMaxCipherDataLength
- Added
CryptoOptions.(Default)MaxCipherDataLength
- Added
CryptoAppConfig.CryptoOptions.DefaultMaxCipherDataLength
- Added
PrivateKeySuite.(Max)*UsageCount
- Added
PrivateKeySuite.Count*Usage
- Added
ILimitKeyUsageCount
(implemented byEncryptionAlgorithmBase
andIAsymmetricAlgorithm
) - Added
KeyUsageExceededException
- Added
CryptoOptions.KeySuite
- Added
EncryptionAes256CbcAlgorithm.MAX_CIPHER_DATA_LENGTH
- Added
EncryptionAes256CbcAlgorithm.MAX_KEY_USAGE_COUNT
- Added
AsymmetricEcDiffieHellmanAlgorithm.MAX_KEY_USAGE_COUNT
- Added
AsymmetricEcDsaAlgorithm.MAX_KEY_USAGE_COUNT
- Added
IvHelper
- Added
KeyHelper
- Added
OtpStream
- Added
CryptoEnvironment.Options.(Iv|Key)HelperRng
- Added
EntropyHelper.Algorithms.(Renyi|Min|Permutation|Kolmogorov)
- Added
EntropyHelper.(MinRenyiEntropy|RenyiEntropyAlpha|RenyiEntropy)
- Added
EntropyHelper.(MaxMinEntropy|MinEntropy)
- Added
EntropyHelper.(MinPermutationEntropy|PermutationWindowSize|PermutationEntropy)
- Added
EntropyHelper.(MinKolmogorovComplexity|KolmogorovComplexity)
- Added
EntropyHelper.GetByteCounters
- Added
EntropyHelper.EnsureValidByteCounters
- Added
CryptoAppConfig.EntropyOptions.MinRenyiEntropy
- Added
CryptoAppConfig.EntropyOptions.MinMinEntropy
- Added
CryptoAppConfig.EntropyOptions.MinPermutationEntropy
- Added
CryptoAppConfig.EntropyOptions.PermutationWindowSize
- Added
CryptoAppConfig.EntropyOptions.MinKolmogorovComplexity
- Added
CryptoEnvironment.Options.MinRenyiEntropy
- Added
CryptoEnvironment.Options.MinMinEntropy
- Added
CryptoEnvironment.Options.MinPermutationEntropy
- Added
CryptoEnvironment.Options.PermutationWindowSize
- Added
CryptoEnvironment.Options.MinKolmogorovComplexity
- FixedDisposablEntropyMonitor
name toDisposableEntropyMonitor
Fixed bugs
- Fixed
(Disposable)EntropyMonitor.MinRndLength
property name - Fixed
EntropyHelper.CheckEntropy
didn't forward the custom algorithm ID to the custom entropy method
Full Changelog: v2.18.0...v2.19.0
Verison 2.18.0
What's Changed
- Added
CryptoExtensions.ToRandomDouble
forSpan<byte>
andbyte[]
- Updated references
Full Changelog: v2.17.0...v2.18.0
Version 2.17.0
Changes
Additions
- Added
PasswordHelper
andPasswordOptions
- Added
CryptoEnvironment.Options.MaxOasswordGeneratorTries
- Added
CryptoEnvironment.Options.DefaultPasswordGeneratorOptions/Length/LowerCase/UpperCase/Numeric/Special
- Added
CryptoAppConfig.PasswordHelper
- Added
CryptoAppConfig.PasswordHelperOptions
Fixed bugs
- Fixed wrong
EntropyHelper.Algorithms.Custom
flag value - Fixed wrong
CryptoEnvironment.Options.AsymmericKeyPoolsCapacity
spelling
Full Changelog: v2.16.1...v2.17.0
Version 2.16.1
Version 2.16.0
Version 2.15.0
Changes
- Added
EntropyHelper
- Added
CryptoAppConfig.Entropy(Options)
- Added
CryptoEnvironment.Options.DefaultEntropyAlgorithm/DefaultEntropyAlgorithms/MinShannonBitEntropy/MinShannonByteEntropy/MinCustomEntropy
- Added
(Disposable)EntropyMonitor
- Added
(Disposable)BackupRng
Full Changelog: v2.14.0...v2.15.0
Version 2.14.0
Changes
Additions
- Added
PasswordPostProcessorChain
- Added
CryptoAppconfig.PasswordPostProcessors
- Added
CryptoAppConfig.UsePasswordPostProcessorsInCryptoOptions
- Added
CryptoEnvironment.Options.PasswordPostProcessors
- Added
CryptoEnvironment.Options.UsePasswordPostProcessorsInCryptoOptions
Fixed bugs
- Fixed
PasswordPostProcessor.PreProcessAsyncEncryptionPassword
is obsolete - should bePreProcessEncryptionPasswordAsync
Full Changelog: v2.13.0...v2.14.0
Version 2.13.0
Version 2.12.0
Changes
- Added
KeyTypes
- Added
KeyRing
- Added
CryptoExtensions.IsPrivate/Public/Store
forKeyTypes
Full Changelog: v2.11.0...v2.12.0