This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#Mono Alphabetic Cipher with user defined key | |
from collections import OrderedDict | |
LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
KEYPHRASE = '' | |
def makeKeyphrase(key): | |
##remove repeated alphabets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
int gcd(int a, int b); | |
void selectionSort(int size, int arr[]); | |
int main() { | |
// 변수 선언 | |
int testCase; | |
std::cin >> testCase; | |
int result[testCase]; |