DrUalcman-Cipher
1.0.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DrUalcman-Cipher --version 1.0.4
NuGet\Install-Package DrUalcman-Cipher -Version 1.0.4
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="DrUalcman-Cipher" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DrUalcman-Cipher --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DrUalcman-Cipher, 1.0.4"
#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 DrUalcman-Cipher as a Cake Addin #addin nuget:?package=DrUalcman-Cipher&version=1.0.4 // Install DrUalcman-Cipher as a Cake Tool #tool nuget:?package=DrUalcman-Cipher&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Cipher
Text encryption with secret and key.
Namespaces
Cipher Cipher.Hash Cipher.Hexagesimal
Constructors
Secret()
Secret(byte key)
Secret(string secret)
Secret(string secret, byte key)
Methods
- Not Async 1.1 Encript(string word) 1.2 Decript(string word) 1.3 Verify(string secret) 1.4 Verify(byte key) 1.5 Verify(string secret, byte key) 1.6 Verify(string text, string encode)
- Async 2.1 EncriptAsync(string word) 2.2 DecriptAsync(string word) 2.3 VerifyAsync(string secret) 2.4 VerifyAsync(byte key) 2.5 VerifyAsync(string secret, byte key) 2.6 VerifyAsync(string text, string encode)
Static Methods
- Cipher.Hash 1.1 Base64 1.1.1 Not Async 1.1.1.1 Base64Encode(string data) 1.1.1.2 Base64Encode(byte[] data) 1.1.1.3 Base64Decode(string data) 1.1.1.4 Base64Decode(byte[] data) 1.1.1.5 Base64UrlEncode(string data) 1.1.1.6 Base64UrlEncode(byte[] data) 1.1.1.7 Base64UrlDecode(string data) 1.1.1 Async 1.1.1.1 Base64EncodeAsync(string data) 1.1.1.2 Base64EncodeAsync(byte[] data) 1.1.1.3 Base64DecodeAsync(string data) 1.1.1.4 Base64DecodeAsync(byte[] data) 1.1.1.5 Base64UrlEncodeAsync(string data) 1.1.1.6 Base64UrlEncodeAsync(byte[] data) 1.1.1.7 Base64UrlDecodeAsync(string data)
- Cipher.Helpers 2.1 Hexagesimal 2.1.1 ToHex(int number) 2.1.2 ToInt(string myHex)
How to use
Secret secret = new Secret();
string code = await secret.EncriptAsync("Hello word");
Console.WriteLine(code );
string decode = await secret.DecriptAsync(code);
Console.WriteLine(decode);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Add Verify methods
Verify(secret)
Verify(key)
Verify(secret, key)
Verify(text, encoded)