Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.24 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.24 KB

Intro

For homework.

How to run source code

Clone this repo first, then you can either run the source code or binary for convinence.

Source code

First, install rust

cargo run -- --plaintext 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis imperdiet commodo finibus. Nulla facilisi. Cras vestibulum nec dui quis vulputate. Vivamus fermentum augue ac augue vulputate molestie. Donec id feugiat turpis, nec maximus ex. Morbi non maximus erat. Donec lobortis urna vel ornare cursus. Ut molestie massa a arcu commodo scelerisque ut id enim. Phasellus vitae nunc porta, pulvinar lacus eget, mollis mi.' --keyword 'Gravity Falls'

Binary

Should run in unix system just fine.

Run cd binary

Then run

./playfair-cipher --plaintext 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis imperdiet commodo finibus. Nulla facilisi. Cras vestibulum nec dui quis vulputate. Vivamus fermentum augue ac augue vulputate molestie. Donec id feugiat turpis, nec maximus ex. Morbi non maximus erat. Donec lobortis urna vel ornare cursus. Ut molestie massa a arcu commodo scelerisque ut id enim. Phasellus vitae nunc porta, pulvinar lacus eget, mollis mi.' --keyword 'Gravity Falls'