Aes128Decrypt 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aes128Decrypt --version 1.1.0                
NuGet\Install-Package Aes128Decrypt -Version 1.1.0                
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="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aes128Decrypt --version 1.1.0                
#r "nuget: Aes128Decrypt, 1.1.0"                
#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=1.1.0

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

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

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 275 3/11/2023
7.1.0 261 3/11/2023
1.1.0 492 7/9/2022
1.0.0 442 7/9/2022

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