Skip to content

Instantly share code, notes, and snippets.

View yjkellyjoo's full-sized avatar

Yejin Kelly Joo yjkellyjoo

View GitHub Profile
@yjkellyjoo
yjkellyjoo / monoAlphabeticCipher
Created October 16, 2019 07:46
simple python2 code for decrypting mono alphabetic cipher
#!/usr/bin/python
#Mono Alphabetic Cipher with user defined key
from collections import OrderedDict
LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
KEYPHRASE = ''
def makeKeyphrase(key):
##remove repeated alphabets
@yjkellyjoo
yjkellyjoo / caesorCipher.py
Last active October 16, 2019 06:24
simple python2 code which decrypts Caesor ciphered text
#!/usr/bin/python
#Caesor Cipher Hacker
message = raw_input("message to crack: ")
LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
for key in range(len(LETTERS)):
translated = ''
for symbol in message:
if symbol in LETTERS:
#include <iostream>
int gcd(int a, int b);
void selectionSort(int size, int arr[]);
int main() {
// 변수 선언
int testCase;
std::cin >> testCase;
int result[testCase];