Skip to content

Functional programming classes at AGH UST - final project

License

Notifications You must be signed in to change notification settings

gjasinski/rsa-haskell

Repository files navigation

RSA HASKELL

functional programming classes at AGH UST

Quick start

Dependencies: Cabal, Stack, HUnit, QuickCheck, Haddock

git clone https://github.com/gjasinski/rsa-haskell.git
cd rsa-haskell
stack build

####Generating RSA keys (public and private)

stack exec rsa-haskell-exe g

####Encrypting

stack exec rsa-haskell e toEncryptFile outputFile Public Key

Example:

stack exec rsa-haskell-exe e test.txt out.txt 2683 25877

####Decrypting

stack exec rsa-haskell d toDecryptFile outputFile Private Key

Example:

stack exec rsa-haskell-exe d out.txt out2.txt 7795 25877

Launching tests:

stack test

License

Copyright © 2017, Grzegorz Jasiński, Wojciech Chmielarz. Released under the MIT license.

About

Functional programming classes at AGH UST - final project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published