Live data from Hacker News

Scream cipher

sethmlarson.dev

31–40 of 112 posts

Re: Scream cipher

#32
post #24

One could use emojis instead, then the message could be hidden in plain sight in places where emoji-spam is common.

Emojis have a high overhead, a single emoji is typically 4 bytes but may be up to 35 bytes.

Re: Scream cipher

#33
post #23
post #3

... in the same sense that ROT13 or base64 would be a cipher.

Rot 13 is a cipher. It's a substitution cipher, and more specifically a shift cypher or Caesar cipher. It's not a secure cipher but it is one. Base64 is an encoding. It's an algorithm, no attempt at secrecy, thus not a cipher.

And thus we arrive at SCREAM64 encoding, base64 in scream cipher.

Re: Scream cipher

#34
post #7

There are a little over 256 unicode Combining Marks that have a 2-byte UTF-8 encoding. I picked a set of them, defining an encoding I call zalgo256: https://gist.github.com/DavidBuchanan314/07da147445a90f7a049... Since an arbitrarily tall stack of combining characters still counts as one grapheme cluster, if some application limits string length by counting grapheme clusters then you can stuff an unlimited amount of…

A demonstration as a comment on the gist would probably work! I'd love to see that

Re: Scream cipher

#37

Ảặậậ ạẵaạǡ ȧặaậậā ǎẩạặȧặǡạǎẩẳ, a áǎạ ầẫȧặ ằȁẩ ạẫ ȁǡặ ạẵaẩ ȦẪẠ13

Ǎ ăẫẩǡǎắặȧ ǎạ a ăẵaậậặẩẳặ áặằẫȧặ ạẵặ ảẵẫậặ ẵȁầaẩ ȧaăặ! Aẩắ Ǎ aǎẩ'ạ ẳẫẩẩa ậẫǡặ.....

Re: Scream cipher

#39

Earlier quoted context omitted.

And people are telling you yes, they (rot13 and base64) are indeed ciphers. What's the confusion?

What people in this thread call a "key" is, not like a key, auxiliary input data, but hard-coded into the program. We are looking at encodings. Maybe this differentiation is not popular or well accepted, but it was surely part of my cryptography curriculum and the following exam. I'd rather believe my prof than strangers on the internet.

Key can mean different things in different contexts. In a substitution cipher, the key is the mapping. In modern ciphers, the key would be some set of secret bytes. Everyone agrees that this cipher would be a bad way to encrypt/encode something. But using the word cipher like this has real historical meaning, and that is the meaning that is being used in the project.

Re: Scream cipher

#40
post #24

One could use emojis instead, then the message could be hidden in plain sight in places where emoji-spam is common.

Emojis have a high overhead, a single emoji is typically 4 bytes but may be up to 35 bytes.

Yikes! Imagine if people were to start sending photos and videos to each other!
Post reply on HN