HexaEightASKClientLibrary 1.9.152

dotnet add package HexaEightASKClientLibrary --version 1.9.152
                    
NuGet\Install-Package HexaEightASKClientLibrary -Version 1.9.152
                    
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="HexaEightASKClientLibrary" Version="1.9.152" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HexaEightASKClientLibrary" Version="1.9.152" />
                    
Directory.Packages.props
<PackageReference Include="HexaEightASKClientLibrary" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HexaEightASKClientLibrary --version 1.9.152
                    
#r "nuget: HexaEightASKClientLibrary, 1.9.152"
                    
#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.
#:package HexaEightASKClientLibrary@1.9.152
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HexaEightASKClientLibrary&version=1.9.152
                    
Install as a Cake Addin
#tool nuget:?package=HexaEightASKClientLibrary&version=1.9.152
                    
Install as a Cake Tool

HexaEight ASK Client Library

How To Use The Library

Visit HexaEight For More Information

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");

Enable Authenticated Encryption (EM1) — recommended

Switches all shared-key encryption to the modern AEAD cipher suite. Defaults to AES-256-GCM-SIV.

HEClient.SetUseEM1(true);

Optionally pick the cipher:

HEClient.SetUseEM1(true, HexaEightCipherMode.AesGcmSiv);

Available ciphers and their wire markers:

  • .SM1 — AES-256-GCM-SIV (default)
  • .FM1 — AES-256-GCM
  • .CM1 — ChaCha20-Poly1305
  • .EM1 — SHAKE-256 keystream with KMAC-256 (Encrypt-then-MAC)

All ciphers use a KMAC-256 extract-then-expand key schedule. Decryption auto-detects the marker, so no mode is required when decrypting; messages without a marker fall back to the legacy format for backward compatibility.

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

var sharedkey = HEClient.GetPreSharedKeyByKnownName("<Valid Email Address or Resource Name>",UnixTimeStamp);

Fetch an Old Ephemeral Key for Multiple Destinations — useful for multi-path traversal / multi-message approvals (semicolon-separated)

var sharedkey = HEClient.GetPreSharedKeyByKnownName("<name1;name2;name3>",UnixTimeStamp);

Encrypt a Message Using the Ephemeral Key

var encryptedmessage = HEClient.EncryptMessageUsingSharedKey(<RecipientName>,<Message>,<sharedkey>);

Decrypt a Message Using the Ephemeral Key

var decryptedmessage = HEClient.DecryptMessageUsingSharedKey(<Encrypted Message>,<sharedkey>);

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.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.

NuGet packages (3)

Showing the top 3 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.

HexaEightAgent

Create And Assign Identities for AI Agents using this Library

HexaEight.Bridge

CoreCLR-host bridge for consuming HexaEight identity and DDE encryption libraries from non-.NET hosts such as Node.js (node-api-dotnet) and Python (pythonnet). Wraps synchronous HexaEight methods in Task.Run to avoid JSSynchronizationContext deadlocks, and eagerly preloads the dependency closure at static-ctor time so by-name resolution never fires on a worker thread.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.9.152 35 7/10/2026
1.9.151 44 7/10/2026
1.9.150 46 7/10/2026
1.9.149 178 6/23/2026
1.9.148 105 6/23/2026
1.9.147 115 6/23/2026
1.9.146 113 6/23/2026
1.9.145 109 6/23/2026
1.9.144 112 6/23/2026
1.9.143 313 5/20/2026
1.9.142 202 2/17/2026
1.9.141 247 1/16/2026
1.9.140 394 12/7/2025
1.9.139 239 12/5/2025
1.9.138 748 12/3/2025
1.9.137 742 12/3/2025
1.9.136 734 12/3/2025
1.9.135 191 11/29/2025
1.9.134 186 11/28/2025
1.9.133 214 11/28/2025
Loading failed