Giter Club home page Giter Club logo

performant23 / sage-against-the-machine Goto Github PK

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

This project explores and implements various techniques and protocols using SageMath. It covers topics such as Elliptic Curve Diffie-Hellman (ECDH) key exchange, homomorphic encryption, secure multi-party computation (MPC), queueing theory analysis, and RSA cryptanalysis.

Python 100.00%
cryptography ecdh homomorphic-encryption number-theory queuing-theory rsa sagemath secure-computation

sage-against-the-machine's Introduction

sage-against-the-machine

This project explores various techniques and protocols using SageMath, a powerful open-source mathematics software system. It covers topics such as Elliptic Curve Diffie-Hellman (ECDH) key exchange, homomorphic encryption, secure multi-party computation (MPC), queueing theory analysis, and RSA cryptanalysis.

Overview

1. Elliptic Curve Diffie-Hellman Key Exchange (ECDH)

The ECDH implementation allows two parties to establish a shared secret over an insecure channel using elliptic curve cryptography. The key exchange process involves defining the curve, selecting secret keys, computing public keys, exchanging keys, and validating the shared secret.

2. Homomorphic Encryption and Secure Multi-party Computation (MPC)

This part of the project focuses on homomorphic encryption, which enables computations on encrypted data, and secure multi-party computation (MPC), which allows multiple parties to jointly compute a function while keeping their inputs private. It covers RSA key generation, encryption, decryption, homomorphic operations, and secure computation protocols.

3. Queueing Theory Analysis

Using SageMath, the project analyzes queueing systems based on M/M/1 queueing theory. It calculates the probability distribution of the number of customers in the system, the expected number of customers, and the expected waiting time. The analysis provides insights into system performance under various traffic intensities.

4. RSA Cryptanalysis

The RSA cryptanalysis component investigates the security of RSA encryption with different key sizes and encryption exponents. It includes techniques such as low-exponent attack and Wiener's attack to assess the vulnerability of RSA to attacks. The security analysis evaluates the effectiveness of these attacks against RSA key pairs of varying parameters.

sage-against-the-machine's People

Contributors

performant23 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.