ArturRios.Util

General-purpose helpers: hashing, flow control, randomness, files, HTTP, maths, regex and console output.

Docs NuGet License: Attribution

The general toolbox: the small pieces that would otherwise be re-copied into every project.

What you get

  • Hashing — Argon2id password hashing and verification.
  • Flow control — conditions, retries with backoff, and waiters.
  • Randomness — cryptographically strong random values and strings, with character pools (Characters.Digits, Characters.UpperLetters, …).
  • Files — file and CSV reading helpers.
  • HTTP — an HttpGateway for straightforward typed calls.
  • Maths — primality tests and prime generation.
  • Text — regex helpers and string utilities.
  • Console — CustomConsole writers and ANSI colour constants.
using ArturRios.Util.Console;

CustomConsole.WriteCharLine();          // 100 dashes
CustomConsole.WriteCharLine('=', 40);   // 40 equals signs

Install

dotnet add package ArturRios.Util

Family dependencies