Ltnm.CryptoField.Core
1.0.7
See the version list below for details.
dotnet add package Ltnm.CryptoField.Core --version 1.0.7
NuGet\Install-Package Ltnm.CryptoField.Core -Version 1.0.7
<PackageReference Include="Ltnm.CryptoField.Core" Version="1.0.7" />
paket add Ltnm.CryptoField.Core --version 1.0.7
#r "nuget: Ltnm.CryptoField.Core, 1.0.7"
// Install Ltnm.CryptoField.Core as a Cake Addin #addin nuget:?package=Ltnm.CryptoField.Core&version=1.0.7 // Install Ltnm.CryptoField.Core as a Cake Tool #tool nuget:?package=Ltnm.CryptoField.Core&version=1.0.7
public class SomeClass { public string Code { get; set; } [Required] [EncryptIdAttribute("Code")] public long Id { get; set; } public SomeClass2 MyProperty { get; set; } public SomeClass2[] MyProperty2 { get; set; }
}
[TestMethod] public void aaa() { var data = new SomeClass { Id = 100, MyProperty = new SomeClass2 { Id = 101 }, MyProperty2 = new SomeClass2[] { new SomeClass2 { Id = 101 } }
};
var aaa = "z6LyKKRSGHs6ZN4JGSECbVKvAVNx+3U3TYrVNX0G+Yc=";
var bb = aaa.DecryptString<long>();
var aaaa = data.EncryptId();
}
Encrypt map to properter in EncryptIdAttribute(FieldName) Change Key use ⇒ Environment Variable "KEY_CRYPTO"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.2
- Microsoft.AspNetCore (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Fix bug mothd EncryptId allow type List,Iqueryable,IEnumable,IEnumerable,object