Skip to content

v2.4 Windows/Linux/MacOS (.NET Core 10)

Choose a tag to compare

@Gyroscopic-why Gyroscopic-why released this 23 Jan 05:34
· 34 commits to main since this release

Original release date - 23.01.2026

All functionality:

  • SecureRandom (alternative to C# Cryptography.RandomNumberGenerator)
    • Does not rely on any dependencies, uses only hardware randomness => cant be compromised
    • Funcs for generating: Byte, Byte[], Int32, Int64, double
    • Supports reseeding, autoReseeding, and SecureNext for reseeding before generating
    • Accepts minValue and maxValue for generating limits
    • Is based on ChaCha20 algorithm
    • slower than C# implementation
  • FastRandom (alternative to C# standart Random class)
    • Does not rely on any dependencies, uses only hardware randomness => cant be compromised
    • Funcs for generating: Byte, Byte[], Int32, Int64, double
    • Accepts minValue and maxValue for generating limits
    • Uses Xoshiro256++ algorithm
    • a bit slower than C# Random
  • Numsys (short for numeric systems) - for Conversions of numbers from one numeric system to another, supports:
    • Auto (uses Fast versions if possible)
    • Funcs supporting custom digits for conversions
    • Support for binary variants of conversions (List and List (for more convinient operationwith Utf16 LittleEndian)
    • Fast conversions (only) for bases 2, 8, 10, 16
    • Support for direct number conversions
    • extending output to a minimal length
    • low base conversions (for bases less or equal to 10)
  • Utils, for:
    • Reverse methods for string, Lists, arrays, and some other collection (To replace the standart C# Linq implemetation)
    • Flag for checking if the number is prime
    • Getting Intervals for strings, arrays and list (startId, endId)
    • XOR operations on Arrays, Lists & integers
  • ToBinary, for:
    • Converting Lists of 16, 32 and 64 bit numbers (supports BigEndian, LittleEndian)
    • Converting 16, 32 and 64 bit numbers (supports BigEndian, LittleEndian)
    • Converting text (strings) to binary (bytes), supports: ASCII, UTF-8, UTF-16, BigEndian UTF-16, UTF-32
  • FromBinary, for:
    • Converting Byte arrays to any integer type, supports: BigEndian, LittleEndian
    • Converting Byte arrays into List, supports BigEndian, LittleEndian
    • Converting text from binary (bytes) to strings, supports: ASCII, UTF-8, UTF-16, BigEndian UTF-16, UTF-32
  • Conversions, for:
    • Conversions of Lists of different sized integers
    • Input: wildcard Type ( (S)Byte, (U)Int16, (U)Int32, (U)Int64 )
    • Output: (S)Byte, (U)Int16, (U)Int32, (U)Int64
    • Supports BigEndian, LittleEndian
  • Split (& Combine), for:
    • Splitting integers into lists of smaller chunks
      (and combining them back together)
    • Input: wildcard Type ( (S)Byte, (U)Int16, (U)Int32, (U)Int64 )
    • Output: (S)Byte, (U)Int16, (U)Int32, (U)Int64

v2.4 Changes

  • Small features to SecureRandom class:
    +NextByte(minValue, maxValue)
    +SecureNextByte(minValue, maxValue)
  • Fixed incorrect FromBinary.BigEndian behaviour