h a l f b a k e r yWhat's a nice idea like yours doing in a place like this?
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
|
|
|
-....- -....- / -....- .-.-.- .-.-.- -....- / -....- -....-
.-.-.- / -....- .-.-.- / -....- .-.-.- -....- .-.-.- / -....- -....- -....- / -....- .-.-.- .-.-.- / .-.-.- / -..-. / -....- .-.-.- -....- -....- / -....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- -....- .-.-.- / -..-. / -....- -....- / -....- -....- -....- / .-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / .-.-.- / -..-. / .-.-.- .-.-.- / -....- .-.-.- / -..-. / -....- -....- / -....- -....- -....- / .-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / .-.-.- / -....- -....- .-.-.- .-.-.- -....- -....- / -..-. / -....- / -....- -....- -....- / -..-. / -....- -....- / .-.-.- -....- / -....- .-.-.- -....- / .-.-.- / -..-. / .-.-.- .-.-.- / -....- / -..-. / -....- .-.-.- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / -....- .-.-.- .-.-.- .-.-.- / .-.-.- -....- .-.-.- .-.-.- / .-.-.- / -..-. / -....- .-.-.- .-.-.- / .-.-.- -....- / -....- .-.-.- / -....- -....- .-.-.- / .-.-.- / .-.-.- -....- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- .-.-.- .-.-.- | |
Double-encode your Morse, in Morse, to make it double-
dangerous.
[link]
|
|
You'd have to be Inspector Morse to solve that one ... |
|
|
As it happens, I think I do need to inspect my
Morse, as word-breaks were expressed as double-
spaces, which get rolled up into non-repeating
spaces in html - so borked... |
|
|
Will update once that's fixed [edited and fixed] -
but basically, it
turns out there are dot and dash characters in
Morse...plus someone's included an @ sign in there
- which is curious since I would have thought Morse
predated email by a significant age, and I can't
imagine using the @ sign for anything other than
internet communication - obviously not. |
|
|
Very clever (and I just discovered that Google Translate doesn't have a 'Morse' option!) |
|
|
... . .- .-. -.-. .... .-.. -.-- .-. .. -.-. ... ·-··· -- ---
.-. . ..-. . .- - ..- .-. . -.. ... - --- .-. .. . ... - --- .--.
... --- -. --. ... ...- .. -.. . --- ... -.-. --- -- -- ..- -. .. -
-.-- ... .... --- .--. -... .- -.. --. .
.-. -... .- -.. --. . .-. -... .- -.. --. . .-. .-- . . -... .-.. .-
-. .-. --- -.. ..- -.-. . -.. -... -.-- .-- . . -... .-.. .- .-..
-... ..- -- .... .- -. -.. ... --- ...- . .-. .--. .- ... - .-.
-.-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··--
-... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. .
.-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -...
.- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --
··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -- ..- ...
.... .-. --- --- -- --··-- -- ..- ... .... .-. --- --- -- .- -...
.- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --
··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. -... .- -..
--. . .-. --··-- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-.
-... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .-
-.. --. . .-. -- ..- ... .... .-. --- --- -- --··-- -- ..- ... .... .-.
--- --- -- .- -... .- -.. --. . .-. --··-- -... .- -.. --. . .-.
-... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -... .-
-.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··--
-... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. .
.-. --··-- -... .- -.. --. . .-. -- ..- ... .... -····- -- ..- ... ....
.-. --- --- -- .- -... .- -.. --. . .-. --··-- -... .- -.. --. .
.-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --··-- -...
.- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -.. --. . .-. --
··-- -... .- -.. --. . .-. -... .- -.. --. . .-. --··-- -... .- -..
--. . .-. --··-- -... .- -.. --. . .-. .- ... -. .- -.- . --··--
.- ... -. .- -.- . ... -. .- .- .- -.- . -·-·-- .- ... -. .- .-
.- .- -.- . --- --- --- .... --··-- .. - ·----· ... .- ... -. .-
-.- . |
|
|
morse = { "a" : ".-", "b" : "-...", "c" : "-.-.", "d" : "-..",
"e" : ".", "f" : "..-.", "g" : "--.", "h" : "....",
"i" : "..", "j" : ".---", "k" : "-.-", "l" : ".-..",
"m" : "--", "n" : "-.", "o" : "---", "p" : ".--.",
"q" : "--.-", "r" : ".-.", "s" : "...", "t" : "-",
"u" : "..-", "v" : "...-", "w" : ".--", "x" : "-..-",
"y" : "-.--", "z" : "--..", "1" : ".----", "2" : "..---",
"3" : "...--", "4" : "....-", "5" : ".....", "6" : "-....",
"7" : "--...", "8" : "---..", "9" : "----.", "0" : "-----",
"." : ".-.-.-", "," : "--..--", ":" : "---...", "?" : "..--..",
"'" : ".----.", "-" : "-....-", "/" : "-..-.", "(" : "-.--.-",
"\"" : ".-..-.", "@" : ".--.-.", "=" : "-...-", "Error" : "........", "
" : "/" }
|
|
|
morse_i = {v:k for k,v in morse.items()} |
|
|
def encode_m(text):
return " ".join([morse.get(a," ") for a in text]) |
|
|
def decode_m(morse):
return "".join([morse_i.get(a," ") for a in morse.split(" ")]) |
|
|
> encode_m(encode_m("some text"))
>> '.-.-.- .-.-.- .-.-.- / -....- -....- -....- / -....- -....- / .-.-.- / -..-. /
-....- / .-.-.- / -....- .-.-.- .-.-.- -....-
/ -....-' |
|
|
> decode_m(decode_m('.-.-.- .-.-.- .-.-.- / -....- -....- -....- / -....- -....- /
.-.-.- / -..-. / -....- / .-.-.- / -....-
.-.-.- .-.-.- -....- / -....-'))
>> 'some text' |
|
|
<note> it would be great to be able to force tabs/repeated spaces in the hb because
without them, (python) code looks hella-untidy (attempt to introduce spaces using ) </note> |
|
|
[zen], I don't think much of your encryption scheme - even I
could read it. It says .-.-.- / -....- .-.-.- / -....- .-.-.- -....-
.-.-.- / -....- -....- -....- / -....- .-.-.- .-.-.- / .-.-.- / -..-. /
-....- .-.-.- -....- -....- / -....- -....- -....- / .-.-.- .-.-.- -....- /
.-.-.- -....- .-.-.- / -..-. / -....- -....- / -....- -....- -....- /
.-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / .-.-.- / -..-. / .-.-.-
.-.-.- / -....- .-.-.- / -..-. / -....- -....- / -....- -....- -....- /
.-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / .-.-.- / -....- -....- .-.-.-
.-.-.- -....- -....- / -..-. / -....- / -....- -....- -....- / -..-. /
-....- -....- / .-.-.- -....- / -....- .-.-.- -....- / .-.-.- / -..-. /
.-.-.- .-.-.- / -....- / -..-. / -....- .-.-.- .-.-.- / -....- -....-
-....- / .-.-.- .-.-.- -....- / -....- .-.-.- .-.-.- .-.-.- / .-.-.- -....-
.-.-.- .-.-.- / .-.-.- / -..-. / -....- .-.-.- .-.-.- / .-.-.- -....- /
-....- .-.-.- / -....- -....- .-.-.- / .-.-.- / .-.-.- -....- .-.-.- /
-....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- .-.-.- .-.-.- |
|
|
It does say that, which is why it's double-dangerous. |
|
|
'.-.-.- .-.-.- / -....- / -..-. / -....- .-.-.- .-.-.- / -....- -....- -....- / .-.-.- / .-.-.- .-.-.- .-.-.- / -..-. / .-.-.- .-.-.- .-.-.- / .-.-.- -....- /
-....- .-.-.- -....- -....- / -..-. / -....- / .-.-.- .-.-.- .-.-.- .-.-.- / .-.-.- -....- / -....- / -....- -....- .-.-.- .-.-.- -....- -....- / -..-. /
.-.-.- -....- -....- / .-.-.- .-.-.- .-.-.- .-.-.- / .-.-.- .-.-.- / -....- .-.-.- -....- .-.-.- / .-.-.- .-.-.- .-.-.- .-.-.- / -..-. / .-.-.- .-.-.- /
.-.-.- .-.-.- .-.-.- / -..-. / .-.-.- -....- -....- / .-.-.- .-.-.- .-.-.- .-.-.- / -....- .-.-.- -....- -....- / -..-. / .-.-.- .-.-.- / -....- / .-.-.-
-....- -....- -....- -....- .-.-.- / .-.-.- .-.-.- .-.-.- / -..-. / -....- .-.-.- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / -....- .-.-.- .-.-.-
.-.-.- / .-.-.- -....- .-.-.- .-.-.- / .-.-.- / -....- .-.-.- .-.-.- .-.-.- .-.-.- -....- / -....- .-.-.- .-.-.- / .-.-.- -....- / -....- .-.-.- / -....-
-....- .-.-.- / .-.-.- / .-.-.- -....- .-.-.- / -....- -....- -....- / .-.-.- .-.-.- -....- / .-.-.- .-.-.- .-.-.- / .-.-.- -....- .-.-.- -....- .-.-.- -....-
' |
|
|
Looks like a drawing of a swamp: Marsh Code |
|
|
Needs some steganography. |
|
|
Needs a full stop at the end of the sentence. |
|
|
This is going to give me an enormorse headache. |
|
| |