From b1f15d6f890355839e8c66ed903fab094f41b553 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Sat, 21 Oct 2023 07:41:03 -0400 Subject: [PATCH] task: migrate to NSec.Cryptography (#30) Signed-off-by: Alan Brault --- cuid.net.sln | 7 - src/cuid.net/Cuid2.cs | 31 +- src/cuid.net/cuid.net.csproj | 5 +- src/cuid.net/packages.lock.json | 40 +- tests/cuid.net.benchmarks/Program.cs | 117 ---- .../cuid.net.benchmarks.csproj | 20 - tests/cuid.net.benchmarks/packages.lock.json | 547 ------------------ tests/cuid.net.tests/packages.lock.json | 56 +- 8 files changed, 69 insertions(+), 754 deletions(-) delete mode 100644 tests/cuid.net.benchmarks/Program.cs delete mode 100644 tests/cuid.net.benchmarks/cuid.net.benchmarks.csproj delete mode 100644 tests/cuid.net.benchmarks/packages.lock.json diff --git a/cuid.net.sln b/cuid.net.sln index bd2da18..304b916 100644 --- a/cuid.net.sln +++ b/cuid.net.sln @@ -4,8 +4,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cuid.net", "src\cuid.net\cu EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cuid.net.tests", "tests\cuid.net.tests\cuid.net.tests.csproj", "{A7660FD5-9354-4E65-A572-CFA3486F4EE8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cuid.net.benchmarks", "tests\cuid.net.benchmarks\cuid.net.benchmarks.csproj", "{34E7094D-63C5-4321-96DA-9CB68520A689}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{D68C1229-0EB5-4E02-82D2-55B05D12BFFE}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{7039220C-882B-4D44-8B6D-5A691A0A3835}" @@ -40,13 +38,8 @@ Global {A7660FD5-9354-4E65-A572-CFA3486F4EE8}.Debug|Any CPU.Build.0 = Debug|Any CPU {A7660FD5-9354-4E65-A572-CFA3486F4EE8}.Release|Any CPU.ActiveCfg = Release|Any CPU {A7660FD5-9354-4E65-A572-CFA3486F4EE8}.Release|Any CPU.Build.0 = Release|Any CPU - {34E7094D-63C5-4321-96DA-9CB68520A689}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {34E7094D-63C5-4321-96DA-9CB68520A689}.Debug|Any CPU.Build.0 = Debug|Any CPU - {34E7094D-63C5-4321-96DA-9CB68520A689}.Release|Any CPU.ActiveCfg = Release|Any CPU - {34E7094D-63C5-4321-96DA-9CB68520A689}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(NestedProjects) = preSolution - {34E7094D-63C5-4321-96DA-9CB68520A689} = {D68C1229-0EB5-4E02-82D2-55B05D12BFFE} {A7660FD5-9354-4E65-A572-CFA3486F4EE8} = {D68C1229-0EB5-4E02-82D2-55B05D12BFFE} {7A501B42-B686-42C7-ACAB-82B973106716} = {7039220C-882B-4D44-8B6D-5A691A0A3835} EndGlobalSection diff --git a/src/cuid.net/Cuid2.cs b/src/cuid.net/Cuid2.cs index 9112b8a..dba562b 100644 --- a/src/cuid.net/Cuid2.cs +++ b/src/cuid.net/Cuid2.cs @@ -2,7 +2,7 @@ using System.Buffers.Binary; using System.Runtime.InteropServices; -using OnixLabs.Security.Cryptography; +using NSec.Cryptography; /// /// Represents a collision resistant unique identifier (CUID). @@ -109,22 +109,27 @@ public override int GetHashCode() /// The value of this . public override string ToString() { - Span data = stackalloc byte[16]; - - BinaryPrimitives.WriteInt64LittleEndian(data[..8], _timestamp); - BinaryPrimitives.WriteUInt64LittleEndian(data[^8..], _counter); + Span buffer = stackalloc byte[16]; + Span result = stackalloc byte[64]; + + BinaryPrimitives.WriteInt64LittleEndian(buffer[..8], _timestamp); + BinaryPrimitives.WriteUInt64LittleEndian(buffer[^8..], _counter); - byte[] result2 = new byte[data.Length + _fingerprint.Length + _random.Length]; + byte[] data = new byte[buffer.Length + _fingerprint.Length + _random.Length]; + + Buffer.BlockCopy(buffer.ToArray(), 0, data, 0, buffer.Length); + Buffer.BlockCopy(_fingerprint, 0, data, buffer.Length, _fingerprint.Length); + Buffer.BlockCopy(_random, 0, data, buffer.Length + _fingerprint.Length, _random.Length); - Buffer.BlockCopy(data.ToArray(), 0, result2, 0, data.Length); - Buffer.BlockCopy(_fingerprint, 0, result2, data.Length, _fingerprint.Length); - Buffer.BlockCopy(_random, 0, result2, data.Length + _fingerprint.Length, _random.Length); + Sha512 sha512 = new(); - using Sha3Hash512 digest = new(); + sha512.Hash(data, result); + if ( !sha512.Verify(data, result) ) + { + return string.Empty; + } - byte[] hash = digest.ComputeHash(result2); - - return _prefix + Utils.Encode(hash)[..( _maxLength - 1 )]; + return _prefix + Utils.Encode(result)[..( _maxLength - 1 )]; } private static class Context diff --git a/src/cuid.net/cuid.net.csproj b/src/cuid.net/cuid.net.csproj index 3b3d501..c0c3651 100644 --- a/src/cuid.net/cuid.net.csproj +++ b/src/cuid.net/cuid.net.csproj @@ -18,6 +18,7 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb true + true true true MIT @@ -30,7 +31,7 @@ https://github.com/visus-io/cuid.net - + true @@ -43,7 +44,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/src/cuid.net/packages.lock.json b/src/cuid.net/packages.lock.json index b0e77e9..1090acc 100644 --- a/src/cuid.net/packages.lock.json +++ b/src/cuid.net/packages.lock.json @@ -18,15 +18,20 @@ "Microsoft.SourceLink.Common": "1.1.1" } }, - "OnixLabs.Security.Cryptography": { + "NSec.Cryptography": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "wIzt0phTiztuBal5GKPe6+QuFj8MvsPVK6tOzSDs0iZ8dG8LwNXVpDZENNjhYUFD873tBoT1x66SBPkKmg5LiA==", + "requested": "[22.4.0, )", + "resolved": "22.4.0", + "contentHash": "lEntcPYd7h3aZ8xxi/y/4TML7o8w0GEGqd+w4L1omqFLbdCBmhxJAeO2YBmv/fXbJKgKCQLm7+TD4bR605PEUQ==", "dependencies": { - "OnixLabs.Core": "5.0.0" + "libsodium": "[1.0.18.2, 1.0.19)" } }, + "libsodium": { + "type": "Transitive", + "resolved": "1.0.18.2", + "contentHash": "flArHoVdscSzyV8ZdPV+bqqY2TTFlaN+xZf/vIqsmHI51KVcD/mOdUPaK3n/k/wGKz8dppiktXUqSmf3AXFgig==" + }, "Microsoft.Build.Tasks.Git": { "type": "Transitive", "resolved": "1.1.1", @@ -36,11 +41,6 @@ "type": "Transitive", "resolved": "1.1.1", "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "OnixLabs.Core": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "Ia0z1wVZFSdfOlrlb+30pRMV0NdCjUnLdwJYtxhgmISS6nfOrOH67AQjBdZvs4h3+ajRq7SZbujYGxveCgogWw==" } }, "net7.0": { @@ -60,15 +60,20 @@ "Microsoft.SourceLink.Common": "1.1.1" } }, - "OnixLabs.Security.Cryptography": { + "NSec.Cryptography": { "type": "Direct", - "requested": "[5.0.0, )", - "resolved": "5.0.0", - "contentHash": "wIzt0phTiztuBal5GKPe6+QuFj8MvsPVK6tOzSDs0iZ8dG8LwNXVpDZENNjhYUFD873tBoT1x66SBPkKmg5LiA==", + "requested": "[22.4.0, )", + "resolved": "22.4.0", + "contentHash": "lEntcPYd7h3aZ8xxi/y/4TML7o8w0GEGqd+w4L1omqFLbdCBmhxJAeO2YBmv/fXbJKgKCQLm7+TD4bR605PEUQ==", "dependencies": { - "OnixLabs.Core": "5.0.0" + "libsodium": "[1.0.18.2, 1.0.19)" } }, + "libsodium": { + "type": "Transitive", + "resolved": "1.0.18.2", + "contentHash": "flArHoVdscSzyV8ZdPV+bqqY2TTFlaN+xZf/vIqsmHI51KVcD/mOdUPaK3n/k/wGKz8dppiktXUqSmf3AXFgig==" + }, "Microsoft.Build.Tasks.Git": { "type": "Transitive", "resolved": "1.1.1", @@ -78,11 +83,6 @@ "type": "Transitive", "resolved": "1.1.1", "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "OnixLabs.Core": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "Ia0z1wVZFSdfOlrlb+30pRMV0NdCjUnLdwJYtxhgmISS6nfOrOH67AQjBdZvs4h3+ajRq7SZbujYGxveCgogWw==" } } } diff --git a/tests/cuid.net.benchmarks/Program.cs b/tests/cuid.net.benchmarks/Program.cs deleted file mode 100644 index 31551ad..0000000 --- a/tests/cuid.net.benchmarks/Program.cs +++ /dev/null @@ -1,117 +0,0 @@ -#pragma warning disable VISLIB0001 -namespace Visus.Cuid.Benchmarks; - -using System.Diagnostics.CodeAnalysis; -using BenchmarkDotNet.Attributes; -using BenchmarkDotNet.Configs; -using BenchmarkDotNet.Jobs; -using BenchmarkDotNet.Running; -using Visus.Cuid; - -[SimpleJob(RuntimeMoniker.Net60, baseline: true)] -[SimpleJob(RuntimeMoniker.Net70)] -[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)] -[CategoriesColumn] -[SuppressMessage("Performance", "CA1822:Mark members as static")] -[ExcludeFromCodeCoverage] -public class CuidBenchmark -{ - [Benchmark] - [BenchmarkCategory("New()")] - public void Cuid_NewCuid() - { - for ( var i = 0; i < 1000000; i++ ) - { - _ = Cuid.NewCuid(); - } - } - - [Benchmark] - [BenchmarkCategory("New()+ToString()")] - public void Cuid_ToString() - { - for ( var i = 0; i < 1000000; i++ ) - { - _ = Cuid.NewCuid().ToString(); - } - } - - [Benchmark(Baseline = true)] - [BenchmarkCategory("New()")] - public void Guid_NewGuid() - { - for ( var i = 0; i < 1000000; i++ ) - { - _ = Guid.NewGuid(); - } - } - - [Benchmark(Baseline = true)] - [BenchmarkCategory("New()+ToString()")] - public void Guid_ToString() - { - for ( var i = 0; i < 1000000; i++ ) - { - _ = Guid.NewGuid().ToString(); - } - } -} - -[SimpleJob(RuntimeMoniker.Net60, baseline: true)] -[SimpleJob(RuntimeMoniker.Net70)] -[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)] -[CategoriesColumn] -[SuppressMessage("Performance", "CA1822:Mark members as static")] -[ExcludeFromCodeCoverage] -public class Cuid2Benchmark -{ - [Benchmark] - [BenchmarkCategory("New()")] - public void Cuid_NewCuid() - { - for ( var i = 0; i < 1000000; i++ ) - { - _ = Cuid.NewCuid(); - } - } - - [Benchmark] - [BenchmarkCategory("New()+ToString()")] - public void Cuid_ToString() - { - for ( var i = 0; i < 1000000; i++ ) - { - _ = Cuid.NewCuid().ToString(); - } - } - - [Benchmark] - [BenchmarkCategory("New()")] - public void Cuid2_Constructor() - { - for ( var i = 0; i < 1000000; i++ ) - { - _ = new Cuid2(); - } - } - - [Benchmark] - [BenchmarkCategory("New()+ToString()")] - public void Cuid2_ToString() - { - for ( var i = 0; i < 1000000; i++ ) - { - _ = new Cuid2().ToString(); - } - } -} - -[ExcludeFromCodeCoverage] -public static class Program -{ - public static void Main() - { - BenchmarkRunner.Run(); - BenchmarkRunner.Run(); - } -} diff --git a/tests/cuid.net.benchmarks/cuid.net.benchmarks.csproj b/tests/cuid.net.benchmarks/cuid.net.benchmarks.csproj deleted file mode 100644 index 1ae06e1..0000000 --- a/tests/cuid.net.benchmarks/cuid.net.benchmarks.csproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - Exe - net6.0;net7.0 - enable - enable - Visus.Cuid.Benchmarks - false - - - - - - - - - - - diff --git a/tests/cuid.net.benchmarks/packages.lock.json b/tests/cuid.net.benchmarks/packages.lock.json deleted file mode 100644 index 7a81230..0000000 --- a/tests/cuid.net.benchmarks/packages.lock.json +++ /dev/null @@ -1,547 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net6.0": { - "BenchmarkDotNet": { - "type": "Direct", - "requested": "[0.13.7, )", - "resolved": "0.13.7", - "contentHash": "5MordgS1tEKFB/1KywxIaIl5gKI1vbTH9hta36LHFLNQQoPyqdIOdGbbunqLIRl7XvbOIYOvkscZkCnVzkFmoQ==", - "dependencies": { - "BenchmarkDotNet.Annotations": "0.13.7", - "CommandLineParser": "2.9.1", - "Gee.External.Capstone": "2.3.0", - "Iced": "1.17.0", - "Microsoft.CodeAnalysis.CSharp": "4.1.0", - "Microsoft.Diagnostics.Runtime": "2.2.332302", - "Microsoft.Diagnostics.Tracing.TraceEvent": "3.0.2", - "Microsoft.DotNet.PlatformAbstractions": "3.1.6", - "Perfolizer": "[0.2.1]", - "System.Management": "5.0.0" - } - }, - "BenchmarkDotNet.Annotations": { - "type": "Transitive", - "resolved": "0.13.7", - "contentHash": "CG9XZHsGpm8BIXXTCdtgISLMucsbEgpcwcewa4BiAj33j/X5nMe5v0QrlQeAvPMcMOgfenUBhGS6as9Qcnq7Ew==" - }, - "CommandLineParser": { - "type": "Transitive", - "resolved": "2.9.1", - "contentHash": "OE0sl1/sQ37bjVsPKKtwQlWDgqaxWgtme3xZz7JssWUzg5JpMIyHgCTY9MVMxOg48fJ1AgGT3tgdH5m/kQ5xhA==" - }, - "Gee.External.Capstone": { - "type": "Transitive", - "resolved": "2.3.0", - "contentHash": "2ap/rYmjtzCOT8hxrnEW/QeiOt+paD8iRrIcdKX0cxVwWLFa1e+JDBNeECakmccXrSFeBQuu5AV8SNkipFMMMw==" - }, - "Iced": { - "type": "Transitive", - "resolved": "1.17.0", - "contentHash": "8x+HCVTl/HHTGpscH3vMBhV8sknN/muZFw9s3TsI8SA6+c43cOTCi2+jE4KsU8pNLbJ++iF2ZFcpcXHXtDglnw==" - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "1Am6l4Vpn3/K32daEqZI+FFr96OlZkgwK2LcT3pZ2zWubR5zTPW3/FkO1Rat9kb7oQOa4rxgl9LJHc5tspCWfg==" - }, - "Microsoft.CodeAnalysis.Analyzers": { - "type": "Transitive", - "resolved": "3.3.3", - "contentHash": "j/rOZtLMVJjrfLRlAMckJLPW/1rze9MT1yfWqSIbUPGRu1m1P0fuo9PmqapwsmePfGB5PJrudQLvmUOAMF0DqQ==" - }, - "Microsoft.CodeAnalysis.Common": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "bNzTyxP3iD5FPFHfVDl15Y6/wSoI7e3MeV0lOaj9igbIKTjgrmuw6LoVJ06jUNFA7+KaDC/OIsStWl/FQJz6sQ==", - "dependencies": { - "Microsoft.CodeAnalysis.Analyzers": "3.3.3", - "System.Collections.Immutable": "5.0.0", - "System.Memory": "4.5.4", - "System.Reflection.Metadata": "5.0.0", - "System.Runtime.CompilerServices.Unsafe": "5.0.0", - "System.Text.Encoding.CodePages": "4.5.1", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.CodeAnalysis.CSharp": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "sbu6kDGzo9bfQxuqWpeEE7I9P30bSuZEnpDz9/qz20OU6pm79Z63+/BsAzO2e/R/Q97kBrpj647wokZnEVr97w==", - "dependencies": { - "Microsoft.CodeAnalysis.Common": "[4.1.0]" - } - }, - "Microsoft.Diagnostics.NETCore.Client": { - "type": "Transitive", - "resolved": "0.2.251802", - "contentHash": "bqnYl6AdSeboeN4v25hSukK6Odm6/54E3Y2B8rBvgqvAW0mF8fo7XNRVE2DMOG7Rk0fiuA079QIH28+V+W1Zdg==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.0", - "Microsoft.Extensions.Logging": "2.1.1" - } - }, - "Microsoft.Diagnostics.Runtime": { - "type": "Transitive", - "resolved": "2.2.332302", - "contentHash": "Hp84ivxSKIMTBzYSATxmUsm3YSXHWivcwiRRbsydGmqujMUK8BAueLN0ssAVEOkOBmh0vjUBhrq7YcroT7VCug==", - "dependencies": { - "Microsoft.Diagnostics.NETCore.Client": "0.2.251802", - "System.Collections.Immutable": "5.0.0", - "System.Runtime.CompilerServices.Unsafe": "5.0.0" - } - }, - "Microsoft.Diagnostics.Tracing.TraceEvent": { - "type": "Transitive", - "resolved": "3.0.2", - "contentHash": "Pr7t+Z/qBe6DxCow4BmYmDycHe2MrGESaflWXRcSUI4XNGyznx1ttS+9JNOxLuBZSoBSPTKw9Dyheo01Yi6anQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "Microsoft.DotNet.PlatformAbstractions": { - "type": "Transitive", - "resolved": "3.1.6", - "contentHash": "jek4XYaQ/PGUwDKKhwR8K47Uh1189PFzMeLqO83mXrXQVIpARZCcfuDedH50YDTepBkfijCZN5U/vZi++erxtg==" - }, - "Microsoft.Extensions.Configuration": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "LjVKO6P2y52c5ZhTLX/w8zc5H4Y3J/LJsgqTBj49TtFq/hAtVNue/WA0F6/7GMY90xhD7K0MDZ4qpOeWXbLvzg==", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "2.1.1" - } - }, - "Microsoft.Extensions.Configuration.Abstractions": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "VfuZJNa0WUshZ/+8BFZAhwFKiKuu/qOUCFntfdLpHj7vcRnsGHqd3G2Hse78DM+pgozczGM63lGPRLmy+uhUOA==", - "dependencies": { - "Microsoft.Extensions.Primitives": "2.1.1" - } - }, - "Microsoft.Extensions.Configuration.Binder": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "fcLCTS03poWE4v9tSNBr3pWn0QwGgAn1vzqHXlXgvqZeOc7LvQNzaWcKRQZTdEc3+YhQKwMsOtm3VKSA2aWQ8w==", - "dependencies": { - "Microsoft.Extensions.Configuration": "2.1.1" - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "MgYpU5cwZohUMKKg3sbPhvGG+eAZ/59E9UwPwlrUkyXU+PGzqwZg9yyQNjhxuAWmoNoFReoemeCku50prYSGzA==" - }, - "Microsoft.Extensions.Logging": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "hh+mkOAQDTp6XH80xJt3+wwYVzkbwYQl9XZRCz4Um0JjP/o7N9vHM3rZ6wwwtr+BBe/L6iBO2sz0px6OWBzqZQ==", - "dependencies": { - "Microsoft.Extensions.Configuration.Binder": "2.1.1", - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.1", - "Microsoft.Extensions.Logging.Abstractions": "2.1.1", - "Microsoft.Extensions.Options": "2.1.1" - } - }, - "Microsoft.Extensions.Logging.Abstractions": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "XRzK7ZF+O6FzdfWrlFTi1Rgj2080ZDsd46vzOjadHUB0Cz5kOvDG8vI7caa5YFrsHQpcfn0DxtjS4E46N4FZsA==" - }, - "Microsoft.Extensions.Options": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "V7lXCU78lAbzaulCGFKojcCyG8RTJicEbiBkPJjFqiqXwndEBBIehdXRMWEVU3UtzQ1yDvphiWUL9th6/4gJ7w==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.1", - "Microsoft.Extensions.Primitives": "2.1.1" - } - }, - "Microsoft.Extensions.Primitives": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "scJ1GZNIxMmjpENh0UZ8XCQ6vzr/LzeF9WvEA51Ix2OQGAs9WPgPu8ABVUdvpKPLuor/t05gm6menJK3PwqOXg==", - "dependencies": { - "System.Memory": "4.5.1", - "System.Runtime.CompilerServices.Unsafe": "4.5.1" - } - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==" - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "OnixLabs.Core": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "Ia0z1wVZFSdfOlrlb+30pRMV0NdCjUnLdwJYtxhgmISS6nfOrOH67AQjBdZvs4h3+ajRq7SZbujYGxveCgogWw==" - }, - "OnixLabs.Security.Cryptography": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "wIzt0phTiztuBal5GKPe6+QuFj8MvsPVK6tOzSDs0iZ8dG8LwNXVpDZENNjhYUFD873tBoT1x66SBPkKmg5LiA==", - "dependencies": { - "OnixLabs.Core": "5.0.0" - } - }, - "Perfolizer": { - "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Dt4aCxCT8NPtWBKA8k+FsN/RezOQ2C6omNGm5o/qmYRiIwlQYF93UgFmeF1ezVNsztTnkg7P5P63AE+uNkLfrw==", - "dependencies": { - "System.Memory": "4.5.3" - } - }, - "System.CodeDom": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "JPJArwA1kdj8qDAkY2XGjSWoYnqiM7q/3yRNkt6n28Mnn95MuEGkZXUbPBf7qc3IjwrGY5ttQon7yqHZyQJmOQ==" - }, - "System.Collections.Immutable": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==" - }, - "System.Management": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "MF1CHaRcC+MLFdnDthv4/bKWBZnlnSpkGqa87pKukQefgEdwtb9zFW6zs0GjPp73qtpYYg4q6PEKbzJbxCpKfw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "Microsoft.Win32.Registry": "5.0.0", - "System.CodeDom": "5.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==" - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "5NecZgXktdGg34rh1OenY1rFNDCI8xSjFr+Z4OU4cU06AQHUdRnIIEeWENu3Wl4YowbzkymAIMvi3WyK9U53pQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==" - }, - "System.Security.AccessControl": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "System.Security.Principal.Windows": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==" - }, - "System.Text.Encoding.CodePages": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "4J2JQXbftjPMppIHJ7IC+VXQ9XfEagN92vZZNoG12i+zReYlim5dMoXFC1Zzg7tsnKDM7JPo5bYfFK4Jheq44w==", - "dependencies": { - "Microsoft.NETCore.Platforms": "2.1.2", - "System.Runtime.CompilerServices.Unsafe": "4.5.2" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==" - }, - "cuid.net": { - "type": "Project", - "dependencies": { - "OnixLabs.Security.Cryptography": "[5.0.0, )" - } - } - }, - "net7.0": { - "BenchmarkDotNet": { - "type": "Direct", - "requested": "[0.13.7, )", - "resolved": "0.13.7", - "contentHash": "5MordgS1tEKFB/1KywxIaIl5gKI1vbTH9hta36LHFLNQQoPyqdIOdGbbunqLIRl7XvbOIYOvkscZkCnVzkFmoQ==", - "dependencies": { - "BenchmarkDotNet.Annotations": "0.13.7", - "CommandLineParser": "2.9.1", - "Gee.External.Capstone": "2.3.0", - "Iced": "1.17.0", - "Microsoft.CodeAnalysis.CSharp": "4.1.0", - "Microsoft.Diagnostics.Runtime": "2.2.332302", - "Microsoft.Diagnostics.Tracing.TraceEvent": "3.0.2", - "Microsoft.DotNet.PlatformAbstractions": "3.1.6", - "Perfolizer": "[0.2.1]", - "System.Management": "5.0.0" - } - }, - "BenchmarkDotNet.Annotations": { - "type": "Transitive", - "resolved": "0.13.7", - "contentHash": "CG9XZHsGpm8BIXXTCdtgISLMucsbEgpcwcewa4BiAj33j/X5nMe5v0QrlQeAvPMcMOgfenUBhGS6as9Qcnq7Ew==" - }, - "CommandLineParser": { - "type": "Transitive", - "resolved": "2.9.1", - "contentHash": "OE0sl1/sQ37bjVsPKKtwQlWDgqaxWgtme3xZz7JssWUzg5JpMIyHgCTY9MVMxOg48fJ1AgGT3tgdH5m/kQ5xhA==" - }, - "Gee.External.Capstone": { - "type": "Transitive", - "resolved": "2.3.0", - "contentHash": "2ap/rYmjtzCOT8hxrnEW/QeiOt+paD8iRrIcdKX0cxVwWLFa1e+JDBNeECakmccXrSFeBQuu5AV8SNkipFMMMw==" - }, - "Iced": { - "type": "Transitive", - "resolved": "1.17.0", - "contentHash": "8x+HCVTl/HHTGpscH3vMBhV8sknN/muZFw9s3TsI8SA6+c43cOTCi2+jE4KsU8pNLbJ++iF2ZFcpcXHXtDglnw==" - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "1Am6l4Vpn3/K32daEqZI+FFr96OlZkgwK2LcT3pZ2zWubR5zTPW3/FkO1Rat9kb7oQOa4rxgl9LJHc5tspCWfg==" - }, - "Microsoft.CodeAnalysis.Analyzers": { - "type": "Transitive", - "resolved": "3.3.3", - "contentHash": "j/rOZtLMVJjrfLRlAMckJLPW/1rze9MT1yfWqSIbUPGRu1m1P0fuo9PmqapwsmePfGB5PJrudQLvmUOAMF0DqQ==" - }, - "Microsoft.CodeAnalysis.Common": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "bNzTyxP3iD5FPFHfVDl15Y6/wSoI7e3MeV0lOaj9igbIKTjgrmuw6LoVJ06jUNFA7+KaDC/OIsStWl/FQJz6sQ==", - "dependencies": { - "Microsoft.CodeAnalysis.Analyzers": "3.3.3", - "System.Collections.Immutable": "5.0.0", - "System.Memory": "4.5.4", - "System.Reflection.Metadata": "5.0.0", - "System.Runtime.CompilerServices.Unsafe": "5.0.0", - "System.Text.Encoding.CodePages": "4.5.1", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.CodeAnalysis.CSharp": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "sbu6kDGzo9bfQxuqWpeEE7I9P30bSuZEnpDz9/qz20OU6pm79Z63+/BsAzO2e/R/Q97kBrpj647wokZnEVr97w==", - "dependencies": { - "Microsoft.CodeAnalysis.Common": "[4.1.0]" - } - }, - "Microsoft.Diagnostics.NETCore.Client": { - "type": "Transitive", - "resolved": "0.2.251802", - "contentHash": "bqnYl6AdSeboeN4v25hSukK6Odm6/54E3Y2B8rBvgqvAW0mF8fo7XNRVE2DMOG7Rk0fiuA079QIH28+V+W1Zdg==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.0", - "Microsoft.Extensions.Logging": "2.1.1" - } - }, - "Microsoft.Diagnostics.Runtime": { - "type": "Transitive", - "resolved": "2.2.332302", - "contentHash": "Hp84ivxSKIMTBzYSATxmUsm3YSXHWivcwiRRbsydGmqujMUK8BAueLN0ssAVEOkOBmh0vjUBhrq7YcroT7VCug==", - "dependencies": { - "Microsoft.Diagnostics.NETCore.Client": "0.2.251802", - "System.Collections.Immutable": "5.0.0", - "System.Runtime.CompilerServices.Unsafe": "5.0.0" - } - }, - "Microsoft.Diagnostics.Tracing.TraceEvent": { - "type": "Transitive", - "resolved": "3.0.2", - "contentHash": "Pr7t+Z/qBe6DxCow4BmYmDycHe2MrGESaflWXRcSUI4XNGyznx1ttS+9JNOxLuBZSoBSPTKw9Dyheo01Yi6anQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "Microsoft.DotNet.PlatformAbstractions": { - "type": "Transitive", - "resolved": "3.1.6", - "contentHash": "jek4XYaQ/PGUwDKKhwR8K47Uh1189PFzMeLqO83mXrXQVIpARZCcfuDedH50YDTepBkfijCZN5U/vZi++erxtg==" - }, - "Microsoft.Extensions.Configuration": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "LjVKO6P2y52c5ZhTLX/w8zc5H4Y3J/LJsgqTBj49TtFq/hAtVNue/WA0F6/7GMY90xhD7K0MDZ4qpOeWXbLvzg==", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "2.1.1" - } - }, - "Microsoft.Extensions.Configuration.Abstractions": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "VfuZJNa0WUshZ/+8BFZAhwFKiKuu/qOUCFntfdLpHj7vcRnsGHqd3G2Hse78DM+pgozczGM63lGPRLmy+uhUOA==", - "dependencies": { - "Microsoft.Extensions.Primitives": "2.1.1" - } - }, - "Microsoft.Extensions.Configuration.Binder": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "fcLCTS03poWE4v9tSNBr3pWn0QwGgAn1vzqHXlXgvqZeOc7LvQNzaWcKRQZTdEc3+YhQKwMsOtm3VKSA2aWQ8w==", - "dependencies": { - "Microsoft.Extensions.Configuration": "2.1.1" - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "MgYpU5cwZohUMKKg3sbPhvGG+eAZ/59E9UwPwlrUkyXU+PGzqwZg9yyQNjhxuAWmoNoFReoemeCku50prYSGzA==" - }, - "Microsoft.Extensions.Logging": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "hh+mkOAQDTp6XH80xJt3+wwYVzkbwYQl9XZRCz4Um0JjP/o7N9vHM3rZ6wwwtr+BBe/L6iBO2sz0px6OWBzqZQ==", - "dependencies": { - "Microsoft.Extensions.Configuration.Binder": "2.1.1", - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.1", - "Microsoft.Extensions.Logging.Abstractions": "2.1.1", - "Microsoft.Extensions.Options": "2.1.1" - } - }, - "Microsoft.Extensions.Logging.Abstractions": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "XRzK7ZF+O6FzdfWrlFTi1Rgj2080ZDsd46vzOjadHUB0Cz5kOvDG8vI7caa5YFrsHQpcfn0DxtjS4E46N4FZsA==" - }, - "Microsoft.Extensions.Options": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "V7lXCU78lAbzaulCGFKojcCyG8RTJicEbiBkPJjFqiqXwndEBBIehdXRMWEVU3UtzQ1yDvphiWUL9th6/4gJ7w==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.1", - "Microsoft.Extensions.Primitives": "2.1.1" - } - }, - "Microsoft.Extensions.Primitives": { - "type": "Transitive", - "resolved": "2.1.1", - "contentHash": "scJ1GZNIxMmjpENh0UZ8XCQ6vzr/LzeF9WvEA51Ix2OQGAs9WPgPu8ABVUdvpKPLuor/t05gm6menJK3PwqOXg==", - "dependencies": { - "System.Memory": "4.5.1", - "System.Runtime.CompilerServices.Unsafe": "4.5.1" - } - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==" - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "OnixLabs.Core": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "Ia0z1wVZFSdfOlrlb+30pRMV0NdCjUnLdwJYtxhgmISS6nfOrOH67AQjBdZvs4h3+ajRq7SZbujYGxveCgogWw==" - }, - "OnixLabs.Security.Cryptography": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "wIzt0phTiztuBal5GKPe6+QuFj8MvsPVK6tOzSDs0iZ8dG8LwNXVpDZENNjhYUFD873tBoT1x66SBPkKmg5LiA==", - "dependencies": { - "OnixLabs.Core": "5.0.0" - } - }, - "Perfolizer": { - "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Dt4aCxCT8NPtWBKA8k+FsN/RezOQ2C6omNGm5o/qmYRiIwlQYF93UgFmeF1ezVNsztTnkg7P5P63AE+uNkLfrw==", - "dependencies": { - "System.Memory": "4.5.3" - } - }, - "System.CodeDom": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "JPJArwA1kdj8qDAkY2XGjSWoYnqiM7q/3yRNkt6n28Mnn95MuEGkZXUbPBf7qc3IjwrGY5ttQon7yqHZyQJmOQ==" - }, - "System.Collections.Immutable": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==" - }, - "System.Management": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "MF1CHaRcC+MLFdnDthv4/bKWBZnlnSpkGqa87pKukQefgEdwtb9zFW6zs0GjPp73qtpYYg4q6PEKbzJbxCpKfw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "Microsoft.Win32.Registry": "5.0.0", - "System.CodeDom": "5.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==" - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "5NecZgXktdGg34rh1OenY1rFNDCI8xSjFr+Z4OU4cU06AQHUdRnIIEeWENu3Wl4YowbzkymAIMvi3WyK9U53pQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==" - }, - "System.Security.AccessControl": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "System.Security.Principal.Windows": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==" - }, - "System.Text.Encoding.CodePages": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "4J2JQXbftjPMppIHJ7IC+VXQ9XfEagN92vZZNoG12i+zReYlim5dMoXFC1Zzg7tsnKDM7JPo5bYfFK4Jheq44w==", - "dependencies": { - "Microsoft.NETCore.Platforms": "2.1.2", - "System.Runtime.CompilerServices.Unsafe": "4.5.2" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==" - }, - "cuid.net": { - "type": "Project", - "dependencies": { - "OnixLabs.Security.Cryptography": "[5.0.0, )" - } - } - } - } -} \ No newline at end of file diff --git a/tests/cuid.net.tests/packages.lock.json b/tests/cuid.net.tests/packages.lock.json index 557b1c0..7b66281 100644 --- a/tests/cuid.net.tests/packages.lock.json +++ b/tests/cuid.net.tests/packages.lock.json @@ -82,6 +82,11 @@ "resolved": "4.5.0", "contentHash": "utFjtKV+vPFPuOwSap9SH98RvdFGPW/xLlIkquj8qDQ+91P8P5V3+71in/lM0iSIYaeIDVhMFEOmxOxdSQf6Aw==" }, + "libsodium": { + "type": "Transitive", + "resolved": "1.0.18.2", + "contentHash": "flArHoVdscSzyV8ZdPV+bqqY2TTFlaN+xZf/vIqsmHI51KVcD/mOdUPaK3n/k/wGKz8dppiktXUqSmf3AXFgig==" + }, "Microsoft.CodeCoverage": { "type": "Transitive", "resolved": "17.7.1", @@ -186,24 +191,19 @@ "resolved": "13.0.1", "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" }, + "NSec.Cryptography": { + "type": "Transitive", + "resolved": "22.4.0", + "contentHash": "lEntcPYd7h3aZ8xxi/y/4TML7o8w0GEGqd+w4L1omqFLbdCBmhxJAeO2YBmv/fXbJKgKCQLm7+TD4bR605PEUQ==", + "dependencies": { + "libsodium": "[1.0.18.2, 1.0.19)" + } + }, "NuGet.Frameworks": { "type": "Transitive", "resolved": "6.5.0", "contentHash": "QWINE2x3MbTODsWT1Gh71GaGb5icBz4chS8VYvTgsBnsi8esgN6wtHhydd7fvToWECYGq7T4cgBBDiKD/363fg==" }, - "OnixLabs.Core": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "Ia0z1wVZFSdfOlrlb+30pRMV0NdCjUnLdwJYtxhgmISS6nfOrOH67AQjBdZvs4h3+ajRq7SZbujYGxveCgogWw==" - }, - "OnixLabs.Security.Cryptography": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "wIzt0phTiztuBal5GKPe6+QuFj8MvsPVK6tOzSDs0iZ8dG8LwNXVpDZENNjhYUFD873tBoT1x66SBPkKmg5LiA==", - "dependencies": { - "OnixLabs.Core": "5.0.0" - } - }, "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", "resolved": "4.3.0", @@ -1119,7 +1119,7 @@ "cuid.net": { "type": "Project", "dependencies": { - "OnixLabs.Security.Cryptography": "[5.0.0, )" + "NSec.Cryptography": "[22.4.0, )" } } }, @@ -1204,6 +1204,11 @@ "resolved": "4.5.0", "contentHash": "utFjtKV+vPFPuOwSap9SH98RvdFGPW/xLlIkquj8qDQ+91P8P5V3+71in/lM0iSIYaeIDVhMFEOmxOxdSQf6Aw==" }, + "libsodium": { + "type": "Transitive", + "resolved": "1.0.18.2", + "contentHash": "flArHoVdscSzyV8ZdPV+bqqY2TTFlaN+xZf/vIqsmHI51KVcD/mOdUPaK3n/k/wGKz8dppiktXUqSmf3AXFgig==" + }, "Microsoft.CodeCoverage": { "type": "Transitive", "resolved": "17.7.1", @@ -1308,24 +1313,19 @@ "resolved": "13.0.1", "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" }, + "NSec.Cryptography": { + "type": "Transitive", + "resolved": "22.4.0", + "contentHash": "lEntcPYd7h3aZ8xxi/y/4TML7o8w0GEGqd+w4L1omqFLbdCBmhxJAeO2YBmv/fXbJKgKCQLm7+TD4bR605PEUQ==", + "dependencies": { + "libsodium": "[1.0.18.2, 1.0.19)" + } + }, "NuGet.Frameworks": { "type": "Transitive", "resolved": "6.5.0", "contentHash": "QWINE2x3MbTODsWT1Gh71GaGb5icBz4chS8VYvTgsBnsi8esgN6wtHhydd7fvToWECYGq7T4cgBBDiKD/363fg==" }, - "OnixLabs.Core": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "Ia0z1wVZFSdfOlrlb+30pRMV0NdCjUnLdwJYtxhgmISS6nfOrOH67AQjBdZvs4h3+ajRq7SZbujYGxveCgogWw==" - }, - "OnixLabs.Security.Cryptography": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "wIzt0phTiztuBal5GKPe6+QuFj8MvsPVK6tOzSDs0iZ8dG8LwNXVpDZENNjhYUFD873tBoT1x66SBPkKmg5LiA==", - "dependencies": { - "OnixLabs.Core": "5.0.0" - } - }, "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", "resolved": "4.3.0", @@ -2241,7 +2241,7 @@ "cuid.net": { "type": "Project", "dependencies": { - "OnixLabs.Security.Cryptography": "[5.0.0, )" + "NSec.Cryptography": "[22.4.0, )" } } }