{"id":37038986,"url":"https://github.com/onix-labs/onixlabs-dotnet","last_synced_at":"2026-01-14T04:37:48.980Z","repository":{"id":38215390,"uuid":"405058629","full_name":"onix-labs/onixlabs-dotnet","owner":"onix-labs","description":"Powerful APIs for object-oriented, and functional programming, including general-purpose, numerics, security, and cryptography APIs","archived":false,"fork":false,"pushed_at":"2025-12-17T16:56:33.000Z","size":1086,"stargazers_count":14,"open_issues_count":4,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-20T00:11:31.894Z","etag":null,"topics":["base16","base32","base58","base64","bigdecimal","cryptography","digital-signatures","ecdsa","extension-methods","fips-202","generic-math","hashing","number-information","numerics","public-private-key","rsa","salt","sha3","sha3-shake"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onix-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-10T11:34:30.000Z","updated_at":"2025-12-17T16:37:35.000Z","dependencies_parsed_at":"2022-08-09T00:15:44.235Z","dependency_job_id":"56c1e505-4213-4a71-836d-d9de2324810a","html_url":"https://github.com/onix-labs/onixlabs-dotnet","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/onix-labs/onixlabs-dotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onix-labs%2Fonixlabs-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onix-labs%2Fonixlabs-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onix-labs%2Fonixlabs-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onix-labs%2Fonixlabs-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onix-labs","download_url":"https://codeload.github.com/onix-labs/onixlabs-dotnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onix-labs%2Fonixlabs-dotnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28409615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base16","base32","base58","base64","bigdecimal","cryptography","digital-signatures","ecdsa","extension-methods","fips-202","generic-math","hashing","number-information","numerics","public-private-key","rsa","salt","sha3","sha3-shake"],"created_at":"2026-01-14T04:37:48.288Z","updated_at":"2026-01-14T04:37:48.972Z","avatar_url":"https://github.com/onix-labs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ONIX Labs](https://raw.githubusercontent.com/onix-labs/onixlabs-website/refs/heads/main/OnixLabs.Web/wwwroot/onixlabs/images/logo/logo-full-light.svg)\n\n# ONIXLabs .NET Library\n\n[![NET](https://github.com/onix-labs/onixlabs-dotnet/actions/workflows/dotnet.yml/badge.svg)](https://github.com/onix-labs/onixlabs-dotnet/actions/workflows/dotnet.yml)\n\nThe ONIXLabs .NET Library is a suite of general-purpose, production-ready libraries designed to support modern application development with a strong emphasis on correctness, composability, and value semantics. They are designed to integrate cleanly into both small utilities and large-scale systems, without imposing architectural constraints or framework lock-in.\n\nAt a high level, ONIXLabs provides:\n\n-   Foundational primitives and patterns missing or underrepresented in the BCL\n-   Functional and value-oriented abstractions for safer code\n-   High-precision numeric and generic math utilities\n-   Security and cryptography APIs with strong typing and value semantics\n-   Infrastructure helpers that reduce boilerplate while preserving clarity\n\nCurrent .NET Support includes .NET 8.0, 9.0 and 10.0, and all packages are published to [Nuget](https://www.nuget.org/packages?q=onixlabs).\n\n## Package Overview\n\n-   **OnixLabs.Core** – Foundational primitives, patterns, and extensions\n-   **OnixLabs.DependencyInjection** – Configuration-driven DI registration\n-   **OnixLabs.Numerics** – Arbitrary-precision numbers and generic math\n-   **OnixLabs.Security** – Non-cryptographic security utilities\n-   **OnixLabs.Security.Cryptography** – Cryptographic primitives and structures\n\n## OnixLabs.Core\n\n[See it on Nuget](https://www.nuget.org/packages/OnixLabs.Core)\n\nFoundational primitives, patterns, and extensions that address common gaps in the .NET Base Class Library. This package provides low-level building blocks used throughout the ONIXLabs ecosystem, but is also useful as a standalone utility library in any .NET application.\n\n-   Strongly typed enumeration pattern (`Enumeration\u003cT\u003e`)\n-   Functional patterns (`Optional\u003cT\u003e`, `Result`, `Result\u003cT\u003e`)\n-   Preconditions and guard clause utilities\n-   Specification pattern with LINQ-compatible expressions (`Specification\u003cT\u003e`)\n-   Value semantics interfaces (`IValueEquatable\u003cT\u003e`, `IValueComparable\u003cT\u003e`)\n-   Binary conversion abstractions (`IBinaryConvertible`, span- and memory-based variants)\n-   Collection generators with LINQ-style query support\n-   Extension methods for arrays, objects, strings, comparables, random, and more\n-   Extensions for `IEnumerable`, `IEnumerable\u003cT\u003e`, and `IQueryable\u003cT\u003e`\n-   Reflection helpers for `Type`\n-   Strongly typed `Base16`, `Base32`, `Base58`, and `Base64` text types\n-   Extensions for `StringBuilder` and `Encoding`\n\n## OnixLabs.DependencyInjection\n\n[See it on Nuget](https://www.nuget.org/packages/OnixLabs.DependencyInjection)\n\nLightweight extensions for Microsoft’s dependency injection abstractions, focused on reducing boilerplate and improving configurability of service registration.\n\n-   `IServiceCollection` extensions\n-   Configuration-driven service lifetime selection\n-   Cleaner, more consistent registration APIs\n\n## OnixLabs.Numerics\n\n[See it on Nuget](https://www.nuget.org/packages/OnixLabs.Numerics)\n\nHigh-precision numeric types and generic math utilities for scenarios where built-in numeric types are insufficient. This package emphasizes correctness, precision, and introspection of numeric values.\n\n-   Arbitrary-precision `BigDecimal` based on generic math (`IFloatingPoint\u003cT\u003e`)\n-   `NumberInfo` for dissecting rational numbers into constituent parts\n-   Generic numeric abstractions (`IBaseNumber\u003cT\u003e`, `INumber\u003cT\u003e`)\n-   Extension methods for `Decimal`, `BigDecimal`, `BigInteger`, and other numeric types\n\n## OnixLabs.Security\n\n[See it on Nuget](https://www.nuget.org/packages/OnixLabs.Security)\n\nNon-cryptographic security utilities focused on safe generation and handling of security-related values.\n\n-   `SecurityToken` generation\n-   Support for pseudo-random and cryptographically secure RNGs\n-   Configurable token alphabets (upper, lower, numeric, special characters)\n\n## OnixLabs.Security.Cryptography\n\n[See it on Nuget](https://www.nuget.org/packages/OnixLabs.Security.Cryptography)\n\nStrongly typed cryptographic primitives and structures with value semantics, designed to make cryptographic operations safer and more explicit.\n\n-   Public and private key abstractions (`PublicKey`, `PrivateKey`)\n-   ECDH, ECDSA, and RSA key implementations\n-   Digital signature types (`DigitalSignature`, `DigitalSignatureAndPublicKey`)\n-   Cryptographic hash value types (`Hash`, `NamedHash`)\n-   Extensions for `HashAlgorithm`\n-   Fully managed FIPS-202 SHA-3 implementation (SHA3-224/256/384/512, SHAKE128/256)\n-   Merkle tree implementations (`MerkleTree`, `MerkleTree\u003cT\u003e`)\n-   Cryptographic salt value type (`Salt`)\n-   Encrypted-in-memory secret handling (`Secret`)\n-   Common cryptographic primitive abstraction (`ICryptoPrimitive`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonix-labs%2Fonixlabs-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonix-labs%2Fonixlabs-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonix-labs%2Fonixlabs-dotnet/lists"}