Skip to content

OnixLabs.Security

Matthew Layton edited this page Nov 15, 2026 · 4 revisions

OnixLabs.Security

View on NuGet

Non-cryptographic security utilities focused on the safe generation and handling of security-related values.

Installation

dotnet add package OnixLabs.Security

Features

  • SecurityToken generation.
  • Support for pseudo-random and cryptographically secure RNGs.
  • Configurable token alphabets (upper, lower, numeric, special characters).

API Reference

All types are in the OnixLabs.Security namespace.

Type Description
SecurityToken An immutable, opaque security token with content-based value equality.
SecurityTokenBuilder A fluent builder that generates a SecurityToken from a configurable character set using a pseudo-random or cryptographically secure random source.

Requirements

Item Supported
Target frameworks .NET 8.0, .NET 9.0, .NET 10.0, .NET 11.0
Language version C# 15
License Apache-2.0

See Also

ONIXLabs .NET Library


Clone this wiki locally