Skip to content

Instantly share code, notes, and snippets.

View JasonBristol's full-sized avatar

Jason Bristol JasonBristol

  • Hartford, Connecticut
View GitHub Profile
@JasonBristol
JasonBristol / pyceaser.py
Last active October 18, 2020 00:29
Tiny python 3.x script to solve simple ceaser ciphers
import re
s = input("Please enter the cipher text: ")
place = input(
"Please enter the character index (optional): ")
shift = input("Please enter the shift key: ")
chars = "abcdefghijklmnopqrstuvwxyz"
exclude = " '\":;.,?!"
@JasonBristol
JasonBristol / pyatbash.py
Last active October 18, 2020 00:30
Tiny python 3.x script to solve atbash ciphers
s = input("Please enter the cipher text: ")
chars = "abcdefghijklmnopqrstuvwxyz"
exclude = " '\":;.,?!"
result = []
for c in s:
if c in exclude:
result.append(c)