HexaEightASKClientLibrary 1.9.96

dotnet add package HexaEightASKClientLibrary --version 1.9.96                
NuGet\Install-Package HexaEightASKClientLibrary -Version 1.9.96                
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.96" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HexaEightASKClientLibrary --version 1.9.96                
#r "nuget: HexaEightASKClientLibrary, 1.9.96"                
#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 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 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.

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 91 10/11/2024
1.9.95 111 10/11/2024
1.9.94 115 8/20/2024
1.9.93 161 8/11/2024
1.9.92 144 8/11/2024
1.9.91 247 8/7/2024
1.9.90 125 8/7/2024
1.9.89 2,289 1/30/2024
1.9.88 2,393 9/27/2023
1.9.87 139 9/27/2023
1.9.86 4,391 2/18/2023
1.9.85 366 2/18/2023
1.9.84 241 2/18/2023
1.9.83 29,940 7/21/2022
1.9.82 1,787 7/21/2022
1.9.81 721 7/21/2022
1.9.80 1,551 7/18/2022
1.9.79 734 7/18/2022
1.9.78 438 7/18/2022
1.9.77 434 7/18/2022
1.9.76 441 7/17/2022
1.9.75 703 7/17/2022
1.9.74 427 7/17/2022
1.9.73 983 7/17/2022
1.9.72 711 7/17/2022
1.9.4 8,826 5/2/2022