BogaNet.SecureType 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BogaNet.SecureType --version 1.1.0                
NuGet\Install-Package BogaNet.SecureType -Version 1.1.0                
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="BogaNet.SecureType" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BogaNet.SecureType --version 1.1.0                
#r "nuget: BogaNet.SecureType, 1.1.0"                
#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 BogaNet.SecureType as a Cake Addin
#addin nuget:?package=BogaNet.SecureType&version=1.1.0

// Install BogaNet.SecureType as a Cake Tool
#tool nuget:?package=BogaNet.SecureType&version=1.1.0                

BogaNet.SecureType

AES encrypted types for all value types, strings and objects. This types prevent the values from being "plain" in memory and offers high protection against bad actors (like memory scanners and searchers).

Important note

This types are performance and memory intense compared to the original C# types, but are cryptographically secure! Use it for sensitive data, like:

  • Passwords
  • Bank account/routing numbers
  • Social security numbers (SSN)
  • Drivers license numbers
  • Passport ID
  • Federal tax ID
  • Employer identification numbers (EIN)
  • Health insurance policy/member numbers

For less sensitive data, like usernames etc., consider using BogaNet.ObfuscatedType.

Main classes and example code

Secure types for:

DoubleSec age = 35.8;
double years = 7;
age += years;

Console.WriteLine(age.ToString());

StringSec text = "Hello Wörld!";
string frag = " byebye!";
text += frag;

Console.WriteLine(text);

Nuget:

BogaNet.SecureType

API:

https://www.crosstales.com/media/data/BogaNet/api/

GitHub:

https://github.com/slaubenberger/BogaNet/

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
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
1.4.0 84 8/5/2024
1.3.0 78 7/26/2024
1.2.0 93 7/12/2024
1.1.2 95 7/2/2024
1.1.0 105 7/1/2024
0.9.3 121 6/26/2024
0.9.2 90 6/25/2024
0.9.1 107 6/25/2024
0.9.0 96 6/24/2024

NUnit test for all classes.