Ltnm.CryptoField.Core 1.0.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ltnm.CryptoField.Core --version 1.0.9                
NuGet\Install-Package Ltnm.CryptoField.Core -Version 1.0.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ltnm.CryptoField.Core" Version="1.0.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ltnm.CryptoField.Core --version 1.0.9                
#r "nuget: Ltnm.CryptoField.Core, 1.0.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ltnm.CryptoField.Core as a Cake Addin
#addin nuget:?package=Ltnm.CryptoField.Core&version=1.0.9

// Install Ltnm.CryptoField.Core as a Cake Tool
#tool nuget:?package=Ltnm.CryptoField.Core&version=1.0.9                

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"

Fix bug List in Linux

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0 13,351 11/13/2020
3.0.0 25,652 10/16/2019
1.0.9 5,606 8/14/2019
1.0.8 515 8/14/2019
1.0.7 520 8/13/2019
1.0.0 503 8/8/2019

Add Attribute AllowEncrypt