GithubHelp home page GithubHelp logo

paabes / cryptography-dotnetcore Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 729 KB

Secure programming techniques applied to cryptography in .Net Core

C# 78.61% HTML 20.34% CSS 0.91% JavaScript 0.15%

cryptography-dotnetcore's Introduction

Cryptography-DotnetCore

Overview:

This project was implemented within the scope of a third-year undergraduate course concerning secure programming techniques and concepts relating to the security of web applications. "Console version" directory contains a solution file developed in the .Net Core environment in C#. Within it, a number of widely used cryptographic algorithms are re-implemented the hard way, i.e without the use of existing crypto libraries and data types such as BigInteger.

At every point user input is thoroughly validated after which it is treated as UTF-8 encoded string converted into a byte array, which allows for the ecnryption and decryption of virtually any input type. Some of the algorithms that were implemented are:

  • Caesar encryption/decription
  • Vigenere encryption/decription
  • Diffe-Hellmann key generation
  • Rsa encryption/decription
  • Fermat's Little Theorem and Binary Exponentiation For Rsa And Diffe-Hellmann key exchange

in addition to a few dozen help functions that handle encoding/decoding, validation and more.

Web Application:

The second directory contains a solution file wherein the initial console application is re-implemented as an MVC web application, support for user accounts, session validation, proper data storage is added and path traversal attacks, through which users could gain access to other users' data, are prevented.

cryptography-dotnetcore's People

Contributors

paabes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.