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
#Orders document for challenge 1 of MWR's HackFu 2015 mentions "Pocket RC4" | |
#Decrypt Pocket RC4 using algorythm from http://aarontoponce.org/wiki/card-ciphers/pocket-rc4 | |
#Twitter account for clues is mentioned in earlier document | |
#Suit order from a tweet clue by MWRLabs (https://twitter.com/mwrlabs) | |
#"He Shall Conquer Dragons" (https://twitter.com/mwrlabs/status/579991389410357248) | |
def letter_to_number(letter): | |
return ord(letter.upper()) - 64 #64 is the number chars before "A" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Quad 7 Segment Display in HTML/JavaScript</title> | |
<style type="text/css"> | |
div.anode { | |
border: solid 2px red; | |
background: red; | |
color: white; |
NewerOlder