Skip to content

Releases: nd1012/wan24-Crypto

Version 2.20.0

27 Oct 12:37
Compare
Choose a tag to compare

Changes

Breaking changes

  • Now using MemoryPool<T> instead of ArrayPool<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

21 Sep 04:52
Compare
Choose a tag to compare

Changes

Breaking changes

  • PasswordHelper.CheckPassword argument pwd is a ReadOnlyMemory<char> now
  • CryptoOptions object version increased to 4
  • Added EncryptionAlgorithmBase.MaxCipherDataLength
  • Added EncryptionAlgorithmBase.MaxKeyUsageCount
  • PrivateKeySuite object version increased to 3
  • IAsymmetricAlgorithm implements ILimitKeyUsageCount now
  • Added AsymmetricAlgorithmBase.MaxKeyUsageCount
  • Added EntropyHelper.EntropyAlgorithm_Delegate parameter byteCounters
  • EntropyHelper.Shannon(Bit|Byte)Entropy has different return values now

Additions

  • Added StreamRandomSource
  • Added PasswordHelper.OnValidation event
  • Added AutoSeedRngWrapper<T>
  • Added ToRandomDouble extension for Memory<byte>
  • Added CryptoEnvironment.Options.DefaultMaxCipherDataLength
  • Added CryptoOptions.(Default)MaxCipherDataLength
  • Added CryptoAppConfig.CryptoOptions.DefaultMaxCipherDataLength
  • Added PrivateKeySuite.(Max)*UsageCount
  • Added PrivateKeySuite.Count*Usage
  • Added ILimitKeyUsageCount (implemented by EncryptionAlgorithmBase and IAsymmetricAlgorithm)
  • 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- Fixed DisposablEntropyMonitor name to DisposableEntropyMonitor

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

09 Sep 02:55
Compare
Choose a tag to compare

What's Changed

  • Added CryptoExtensions.ToRandomDouble for Span<byte> and byte[]
  • Updated references

Full Changelog: v2.17.0...v2.18.0

Version 2.17.0

16 Aug 03:55
Compare
Choose a tag to compare

Changes

Additions

  • Added PasswordHelper and PasswordOptions
  • 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

13 Jul 11:10
Compare
Choose a tag to compare

Changes

  • Updated references

Full Changelog: v2.16.0...v2.16.1

Version 2.16.0

06 Jul 09:05
013bdcb
Compare
Choose a tag to compare

Changes

  • Updated references

Full Changelog: v2.15.0...v2.16.0

Version 2.15.0

29 Jun 06:08
Compare
Choose a tag to compare

Changes

  • Added EntropyHelper
  • AddedCryptoAppConfig.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

22 Jun 06:27
Compare
Choose a tag to compare

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 be PreProcessEncryptionPasswordAsync

Full Changelog: v2.13.0...v2.14.0

Version 2.13.0

16 Jun 19:44
Compare
Choose a tag to compare

Changes

  • Updated references

Full Changelog: v2.12.0...v2.13.0

Version 2.12.0

20 May 11:16
Compare
Choose a tag to compare

Changes

  • Added KeyTypes
  • Added KeyRing
  • Added CryptoExtensions.IsPrivate/Public/Store for KeyTypes

Full Changelog: v2.11.0...v2.12.0