Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.16 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.16 KB

AstralSafeClient

GitHub GitHub repo size Lines of code GitHub issues GitHub last commit

A .NET MAUI application that encrypts and decrypts an exe file for anti-piracy demonstration.

To run the application, you must first run the server (AstralSafeServer repo).

The program encrypts and decrypts a file called main.exe, which is located in the Resources/Raw folder of the project.

Usage

The GUI has two functions: the first uses the key generation API endpoint, while the second asks the server to validate the license.

In the first case, the client sends a uid in the format "xxxx-xxxx-xxxx-xxxx" to the server, which returns the license and a key.

In the second case, the client sends a uid and license and the server returns the key used to encrypt the license.