Encrypt.Net
1.1.0
dotnet add package Encrypt.Net --version 1.1.0
NuGet\Install-Package Encrypt.Net -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="Encrypt.Net" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Encrypt.Net --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Encrypt.Net, 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 Encrypt.Net as a Cake Addin #addin nuget:?package=Encrypt.Net&version=1.1.0 // Install Encrypt.Net as a Cake Tool #tool nuget:?package=Encrypt.Net&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Encrypt.Net
Encrypt.Net Librería creada con el propósito de hacer mas ligero el trabajo de cifrado de distintos tipos. Encrypt.Net Library created with the purpose of making the encryption work of different types lighter. Herramientas de encriptado y desencriptado Encryption and decryption tools AES128, AES256, SHA1, SHA256, SHA384, SHA512, HMAC-SHA1, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, HMAC-MD5, MD5, BASE64
Soporte
- .Net Framework
- .Net Core
- .Net Standar
Instalacion
- Package Manager
Install-Package Encrypt.Net -Version 1.0.8
- .Net CLI
dotnet add package Encrypt.Net --version 1.0.8
- PackageReference
<PackageReference Include="Encrypt.Net" Version="1.0.8" />
Uso
C#
Using Encrypt.Net.Text;
public class Ejemplo
{
//SHA Examples
public void SHA_Test()
{
Console.WriteLine(Cifrado.sha256("Hola").HASH);
Console.WriteLine(Cifrado.sha256("Hola").Base64);
}
//AES Examples
public void AES_Test()
{
var AES128 = Cifrado.AES128("Hola", "password");
var AES256 = Cifrado.AES256("Hola", "password");
var Decrypt_AES128 = Decifrado.AES128(AES128.Data, "password");
var Decrypt_AES256 = Decifrado.AES256(AES256.Data, "password");
Console.WriteLine($"AES");
Console.WriteLine($"Opciones de Cifrados");
Console.WriteLine($"Hash ---- {AES128.Hash}");
Console.WriteLine($"Hash ---- {AES128.Hash}");
Console.WriteLine($"Base64 ---- {AES128.Base64}");
Console.WriteLine($"Base64 ---- {AES128.Base64}\n");
Console.WriteLine($"Opciones de Decifrados");
Console.WriteLine($"{Decrypt_AES128.Hash}");
Console.WriteLine($"{Decrypt_AES256.Hash}");
}
}
Vb.Net
Imports Encrypt.Net.Text
Public Class Ejemplo
'SHA examples
Public sub SHA_Test()
Console.WriteLine(Cifrado.sha256("Hola").HASH)
Console.WriteLine(Cifrado.sha256("Hola").Base64)
end sub
'AES examples
public sub AES_Test()
dim AES128 = Cifrado.AES128("Hola", "password")
dim AES256 = Cifrado.AES256("Hola", "password")
dim Decrypt_AES128 = Decifrado.AES128(AES128.Data, "password")
dim Decrypt_AES256 = Decifrado.AES256(AES256.Data, "password")
Console.WriteLine($"AES")
Console.WriteLine($"Opciones de Cifrados")
Console.WriteLine($"Hash ---- {AES128.Hash}")
Console.WriteLine($"Hash ---- {AES128.Hash}")
Console.WriteLine($"Base64 ---- {AES128.Base64}")
Console.WriteLine($"Base64 ---- {AES128.Base64}\n")
Console.WriteLine($"Opciones de Decifrados")
Console.WriteLine($"{Decrypt_AES128.Hash}")
Console.WriteLine($"{Decrypt_AES256.Hash}")
end sub
end Class
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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Microsoft.NETCore.Portable.Compatibility (>= 1.0.2)
- NETStandard.Library (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.