Aes128Decrypt 7.6.1

dotnet add package Aes128Decrypt --version 7.6.1
NuGet\Install-Package Aes128Decrypt -Version 7.6.1
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="Aes128Decrypt" Version="7.6.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aes128Decrypt --version 7.6.1
#r "nuget: Aes128Decrypt, 7.6.1"
#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 Aes128Decrypt as a Cake Addin
#addin nuget:?package=Aes128Decrypt&version=7.6.1

// Install Aes128Decrypt as a Cake Tool
#tool nuget:?package=Aes128Decrypt&version=7.6.1

Through the API it decodes the payload AES-128 mechanism. It works in the following way:

.NET CLI

  dotnet add package Aes128Decrypt

post form example:

  <form action="https://mycoolapp.com/Post" method="POST" accept-charset='utf-8'>
  <input type='hidden' name='data' value="PZZDt4FMG5ROVen3bSKJ7zQvF_V5cNRCmn0pfhGzKCIS0OcNcq6WlSXmUPluqY"/>
  </form>

c# code:

    using Aes128Decrypt;
    namespace Decrypt
    {
        

         public postdata Post(PayloadData collection)
         {
        
           String app_secret_key = "udhfjgmbdhgteidjfhvhwqas97fj3nfgu3";
    
            var json = collection.PayloadDecrypt(app_secret_key); 

           return json;
        }
    }
    

json file is payload data after decoding.

Decoded request example:

{  
"Id":1003,
"lang": "en",
"returnUrl":"https://app.sbay.sa",
"AppSettings":{  
  "apiKey":"\"XXX\""

},
"token":"abcdefghijklmnopqrstuv1234567890"
}

The application of this type of encryption is usually for highly sensitive transactions such as payments applications and the like.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.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.

Version Downloads Last updated
7.6.1 242 3/11/2023
7.1.0 232 3/11/2023
1.1.0 466 7/9/2022
1.0.0 419 7/9/2022

This procedure interprets API data , Using c#8  or later and .net6 the library was built.