Skip to content

v0.9.0

Compare
Choose a tag to compare
@shinji-san shinji-san released this 09 Oct 21:18
· 263 commits to main since this release
30ead46

Added

  • Add ToInt32() method to BigIntCalculator and Calculator class.
  • Introduce the IExtendedGcdResult interface to decouple GCD result implementations.

Changed

  • Moved generic version of the Calculator class from the Calculator.cs file to the Calculator`1.cs file.
  • Updated Microsoft.NET.Test.Sdk Nuget package version to 17.2.0.
  • Updated xunit.runner.visualstudio Nuget package version to 2.4.5.
  • Set Calculator fields ChildTypes and ChildBaseCtors from protected to private.
  • Performance improvements for ShamirsSecretSharing classes.
  • Performance improvements for FinitePoint class.
  • Performance improvements for generic Calculator class.

Deprecated

  • Ctor ShamirsSecretSharing(IExtendedGcdAlgorithm<TNumber> extendedGcd, int securityLevel) is deprecated.
  • Method MakeShares(TNumber numberOfMinimumShares, TNumber numberOfShares) is deprecated.

Fixed

  • Fixed style guide violations in CHANGELOG.md.
  • Fixed style guide violations in FinitePoint.cs.
  • Fixed style guide violations in Shares.cs.
  • Fixed style guide violations in SharesEnumerator.cs.
  • Fixed style guide violations in IExtendedGcdAlgorithm`2.cs.
  • Fixed style guide violations in ExtendedEuclideanAlgorithm.cs.
  • Fixed style guide violations in Calculator.cs.
  • Fixed style guide violations in Calculator`1.cs.
  • Fixed style guide violations in BigIntCalculator.cs.
  • Fixed style guide violations in Secret.cs. Split file into Secret.cs and Secret`1.cs.
  • Fixed possible null reference exception in Calculator class.
  • Fixed possible null reference exception in Shares class.
  • Fixed possible null reference exception in ShamirsSecretSharing class.
  • Fixed unnecessary boxing/unboxing in the ToString() methods in Calculator classes.

Removed

  • Removed constructor w/ ReadOnlyCollection parameter from the SharesEnumerator{TNumber} class.
  • Removed tuple type casting from the Shares class.
  • Removed Shares.Item1 property.
  • Removed Shares.Item2 property.