HexaEightASKClientLibrary 1.9.96
dotnet add package HexaEightASKClientLibrary --version 1.9.96
NuGet\Install-Package HexaEightASKClientLibrary -Version 1.9.96
<PackageReference Include="HexaEightASKClientLibrary" Version="1.9.96" />
paket add HexaEightASKClientLibrary --version 1.9.96
#r "nuget: HexaEightASKClientLibrary, 1.9.96"
// Install HexaEightASKClientLibrary as a Cake Addin #addin nuget:?package=HexaEightASKClientLibrary&version=1.9.96 // Install HexaEightASKClientLibrary as a Cake Tool #tool nuget:?package=HexaEightASKClientLibrary&version=1.9.96
HexaEight ASK Client Library
How To Use The Library
Visit HexaEight For More Information
Breaking Changes - 1.9.6 and above - Support for Browsers
Code Sample
Initialize a new ASK Client
var HEClient = new ASKClient("HexaEight_LoginToken","Resource Name", "LoginToken_Password");
Set your Own Password for Session Encryption
HEClient.SetSafeKey("OwnPassword");
Set an API Key (RapidAPI)
HEClient.SetRapidAPIKey("APIKey");
Encrypt a Message For any Destination. (Destination should be a valid Email Address or Resource Provider)
var encryptedmessage = HEClient.EncryptMessageByKnownName("demo.hexaeight.com","Hello Demo");
Decrypt a Message Received
var decryptedmessage = HEClient.DecryptMessageByKnownName("demo.hexaeight.com",<Encrypted Message>);
Fetch Current Ephemeral Key for a Destination
var sharedkey = HEClient.GetSharedKeyByKnownName("<Valid Email Address or Resource Name");
Fetch an Old Ephemeral Key for a Destination - Added in 1.7.4
var sharedkey = HEClient.GetPreSharedKeyByKnownName("<Valid Email Address or Resource Name",UnixTimeStamp);
Decrypt a Message Using the Ephemeral Key - Added in 1.7.3
var decryptedmessage = HEClient.DecryptMessageUsingSharedKey(<Encrypted Message>,<sharedkey>);
Encrypt a Message Using the Ephemeral Key - Added in 1.7.6
var encryptedmessage = HEClient.EncryptMessageUsingSharedKey(<RecipientName>,<Encrypted Message>,<sharedkey>);
Encrypt a Message Using User Access Key (UAK) - Added in 1.7.9
var encryptedmessage = HEClient.EncryptMessageUsingUAK(<RecipientName>,<Encrypted Message>, <uak of user> <sharedkey of destination user resource>);
Decrypt a Message Encrypted Using UAK - Added in 1.7.9
var decryptedmessage = HEClient.DecryptMessageForUAK(<Encrypted Message>,<sharedkey of user>);
Added support for Binary Data Encryption and Decryption using Shared keys and User Access keys - Version 1.8.6
var encrypteddata = EncryptRaw(originaldata, Sharedkey);
var originaldata = DecryptRaw(encrypteddata, Sharedkey);
var encrypteddata = EncryptRawUsingUAK(originaldata, useraccesskey, sharedkey);
var originaldata = DecryptRawUsingUAK(encrypteddata, useraccesskey, sharedkey);
Added new capability for Fetching an Old Ephemeral Key for multiple Destinations - Useful for multi path traversal / multi message approvals
var sharedkey = HEClient.GetPreSharedKeyByKnownName("<Multiple Valid Email Address or Resource Name seperated by semicolons (;)",UnixTimeStamp);
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. |
-
.NETStandard 2.1
- Microsoft.VisualBasic (>= 10.3.0)
- netcore.encrypt (>= 2.0.9)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HexaEightASKClientLibrary:
Package | Downloads |
---|---|
HexaEightJWTLibrary
Create and Validate HexaEight JWT Tokens using this Libarary. This Library provides helper functions to implement HexaEight authenticated encryption and decryption of messages. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.9.96 | 95 | 10/11/2024 |
1.9.95 | 113 | 10/11/2024 |
1.9.94 | 117 | 8/20/2024 |
1.9.93 | 163 | 8/11/2024 |
1.9.92 | 146 | 8/11/2024 |
1.9.91 | 249 | 8/7/2024 |
1.9.90 | 127 | 8/7/2024 |
1.9.89 | 2,291 | 1/30/2024 |
1.9.88 | 2,395 | 9/27/2023 |
1.9.87 | 141 | 9/27/2023 |
1.9.86 | 4,394 | 2/18/2023 |
1.9.85 | 368 | 2/18/2023 |
1.9.84 | 243 | 2/18/2023 |
1.9.83 | 29,945 | 7/21/2022 |
1.9.82 | 1,789 | 7/21/2022 |
1.9.81 | 723 | 7/21/2022 |
1.9.80 | 1,553 | 7/18/2022 |
1.9.79 | 736 | 7/18/2022 |
1.9.78 | 440 | 7/18/2022 |
1.9.77 | 436 | 7/18/2022 |
1.9.76 | 443 | 7/17/2022 |
1.9.75 | 705 | 7/17/2022 |
1.9.74 | 429 | 7/17/2022 |
1.9.73 | 985 | 7/17/2022 |
1.9.72 | 713 | 7/17/2022 |
1.9.4 | 8,828 | 5/2/2022 |