Skip to content

hosszubalazs/rust_rsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSA key generation in Rust

Codacy Badge Build Status

Example project for creating assymetric key cyphers in Rust based on the RSA algorithm.

The solution is heavily under development and is meant for educational purposes only. (mostly for myself) The current solution barely works for very low prime numbers.

Kid-RSA

A bug-ridden early implementation of the RSA-like encryption, Kid-RSA, can be found in kid_rsa.rs. Please check the tests and the FIXME to see the current state.

Requirements:

  • The private and public keys are different.
  • The message is smaller than n. The algortihm is mod n based, messages longer than n does not make sense.
  • TODO

Development environment, runnin the code

Use the official guide to get your environment working: Install Rust

Use standard cargo commands to build/test/run.

Resources

Inventory of stuff you need to know:

Algorithms:

Maths:

Additional learning materials:

About

RSA implementaiton in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages