Encryption symmetric, asymmetric, and encoding.
This solution contains all the assignment we did in the encryption course on ZBC Ringsted DK. The concept is to create cSharp libraries for each domain logic, to reuse or the quickly remember how the specific encryption/encoding works.
- Hashing Repo
In this project you will find 3 types of encoding.- Simple Hashing
- Hashing with salt (and pepper)
- Hashing with key (HMAC)
- Random Key Repo
This class library is pretty simple, it contains a RandomNumberGenerator used to generate keys in specific size (byte size)
- Caesar Repo
Fun little assignment that uses the idea of how the romans encrypted there messages
- Summetric Repo
In the libraries we de two different types of symmetric algorithms, TripleDES and AES encryption.- TripleDES (used by visa card etc.)
- AES
Currently no UI for this, look in console Application and Unit tests
- Summetric Repo
This project uses the RSA Algorithm.- Generate Keysets
- Encrypt
- Decrypt
Currently no UI for this, look in console Application and Unit tests
- Test Repo
Doing more test, needs to be practice, was fun to play with for testing the domain libraries - Hashing
- Key Gen
- Symmetric
- Asymmetric
- Caeser
- Console Repo
The primary ide is to quickly test code, and debug. This is used as a "playground" Here are some examples of symmetric and asymmetric libraries in use.
- MVC Repo
This project is used as the UI, currently Hash Encoding, Caeser and login site(secure login) is implemented. Sadly I didn't have time to implement symmetric and asymmetric encryption.
- EF Core Repo
This project is used for login/user information in the Secure Password Assignment
This project shows how hybrid encryption works en real, this is a mix of to project .NET 6 Webproject running SignalR Hub, and a .NET 6 MAUI running as client. You can also find a PoC done in simple websocket running client/server from 2 .NET 6 Webproject. The combination of Asymmetric and symmetric encryption is top of the pop.
- Server PoC
- Client PoC
This project is a PoC on hybrid encryption, this is the combination of asymmetric and symmetric encryption, and will simulate a real world example on how hybrid encryption wokrs. Uses symmetric and asymmetric encryption.
- Server SignalR Repo
Server running signalR, look in chathub. It would have been nice to implement a login function using hashing, like the login site in .NET MVC project Uses symmetric and asymmetric encryption
- Client Maui SignalR Repo
Client running signal. First time looking at .NET Maui, surely not the last, fun project. Would have like to play a lot more on this one, but had no time. Uses symmetric and asymmetric encryption