Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Querdos/QRSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSA Implementation by Querdos

An implementation of the RSA algorithm according to PKCS#1

Prerequisits

This implementation use the well known library Gnu Multiple Precision (GMP).

Usage

Three possibilities:

  • Generate a key-pair

    ./rsa --generate-key-pair

    If the .rsa directory doesn't exists, it will create it and generate 2 files in it: rsa.priv and rsa.pub

  • Encrypt a file

    ./rsa --encrypt file

    It requires that the --generate-key-pair has been used before. Otherwise, will raise an error.

  • Decrypt a file

    ./rsa --decrypt file

    It requires that the --generate-key-pair has been used before. Otherwise, will raise an error.

About

RSA Implentation (C)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages