Skip to content

CoderDojoScotland/Crypto-Dojo

Repository files navigation

Crypto-Dojo

Materials to support a cryptography themed dojo

How to use

The repository contains two python programs that implement encryption and decryption using a Caesar Cipher.

File caesarCipher2_7base.py has a cut-down version of the program that has a complete encryption function but only skeletons for decrypt and brute force functions. The key (the value to shift letters by to encrypt) is also hard coded. This allows coders to work out for themselves how to code decrypt, brute force, and obtaining the key.

File caesarCipher2-7original.py contains the complete program in case any of the coders runs out of time or finds the task too challenging. The inner loop in the nested loop in the brute-force function could be replaced by the decrypt function, but it can be a useful way of introducing nested loops.

The repository also contains a python program that implements a Vignere cipher. This uses the encrypt and decrypt functions from the Caesar Cipher program, so link in to the previous code. The vigenere program also allows you to customise your program by setting the EVIL_ORGANISATION variable.

Authors

Claire Quigley
Rose

Licence

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.

About

Materials for a Cryptography themed CoderDojo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages