Mafia: Effulgent Edition

Not the kind with cardstock and pawns. Mostly play by post Mafia so far.
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: Mafia: Effulgent Edition

Post by DanielH »

A one-time pad is probably not what you are doing. I’m not sure what you’re referring to, but a one-time pad is a specific way of encrypting something where it is trivial to prove it is completely impossible to decrypt without the key. For example, suppose you know in advance you’ll want to encrypt a message of no more than 100 case-insensitive letters¹. Then, in advance, you can generate the following random 100 letters:
pad
FVZGKBQIZK
NJYXHWPRVE
DXJYJGPLUQ
VKOMYUNYST
UCZOWDXLEW
DHBOAUZKIB
VXLLYCKGRN
IVNNIHDWFW
MPSMQZGNCT
PTHGGWCJLZ
Eventually, you decide to send the message “HELLOWORLD”. Using mod-26 (wraparound) arithmetic, you add this string to the key. H (the first letter of the message) + F (the first letter of the key) becomes 8 (H is the eighth letter) + 6 (F is the sixth) = 14, becomes N. Similarly, E + V becomes 5 + 22 = 27, which wraps around to 1 and becomes A. In this manner, you translate HELLOWORLD to NALSZYFALO. What you do next depends on the scheme: you can use the entire rest of the pad as-is, add a “EOM” to the end of your message, save the rest of the pad for later (and make it clear that you only sent 10 letters), or whatever else.

The point of this scheme is that, from the point of view of somebody who intercepts the message, NALSZYFALO could translate to literally any 10-character message depending on the pad. It is completely impossible to break, even in principal, because with a different key it could have been ADIOSAMIGO, or EMBEZZLEIT, or anything else of the right length. As long as you don’t use the one-time pad more than once, it’s impossible to break.

Historically, some people used their one-time pads more than once, leading to their unbreakable crypto being broken.

¹ This is a simplification, but not much of one. You can often infer spaces, punctuation, etc. from just a block of letters if you try hard enough.
Last edited by DanielH on Wed Mar 25, 2015 8:17 pm, edited 1 time in total.
Alphabeta
Posts: 235
Joined: Sat Mar 22, 2014 2:46 pm
Pronouns: he/him/his

Re: Mafia: Effulgent Edition

Post by Alphabeta »

Ah, okay. I feel educated. I'm just using different private keys for different things.
cbhacking
Posts: 150
Joined: Fri Mar 28, 2014 12:48 am
Pronouns: Masculine (or whatever)
Location: Seattle

Re: Mafia: Effulgent Edition

Post by cbhacking »

Eh, you're right, when you're already got authentication there's no need for signing, just hashing. There's a million and half free sha1 generators online (http://www.md5hashgenerator.com/sha1-generator.php is a decent one in that it gives a nice-sized text box) so yeah, may as well use that. I'm used to things like chat rooms and email where spoofing somebody's identity is pretty easy.
User avatar
Lambda
Posts: 1021
Joined: Fri Mar 28, 2014 9:39 am
Pronouns: She, her
Contact:

Re: Mafia: Effulgent Edition

Post by Lambda »

shit, no sherlock

also can I just say that the godly death narration is fucking delightful. thank you.
User avatar
Alicorn
Site Admin
Posts: 4226
Joined: Fri Mar 21, 2014 4:44 pm
Pronouns: She/her/hers
Location: The Belltower
Contact:

Re: Mafia: Effulgent Edition

Post by Alicorn »

I have so much fun with the gratuitous capitals.
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: Mafia: Effulgent Edition

Post by DanielH »

Yes, it’s great.

I also have a comment on not having a Sherlock, but that’ll wait until I’m in the regular thread and not distracted by other things happening.
User avatar
jalapeno_dude
Posts: 1184
Joined: Sat Mar 22, 2014 2:57 pm
Pronouns: He

Re: Mafia: Effulgent Edition

Post by jalapeno_dude »

The narration just keeps getting better! I particularly enjoyed "EMBEDDED IN HIS AORTA FOR SOME GODDAMN REASON WHAT THE HELL DUDE HAVE YOU NOT HEARD OF THE ~CLOUD~".
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: Mafia: Effulgent Edition

Post by DanielH »

I have. My aorta is with me more often than an Internet connection is.

Putting a large amount of information (most of Wikipedia, most computing standards like Unicode, various textbooks on practically everything, etc) on an SD card (you cannot imagine how much you can cram into 64 GB) and carrying it around on my person is something I want to do IRL. I wouldn't embed it in my bloodstream, though, unless somebody put an SD card reader there.
User avatar
Alicorn
Site Admin
Posts: 4226
Joined: Fri Mar 21, 2014 4:44 pm
Pronouns: She/her/hers
Location: The Belltower
Contact:

Re: Mafia: Effulgent Edition

Post by Alicorn »

Wow, lucky guess on my part. (I'm trying to make all the reveals things you obviously couldn't do while the person was alive.)
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: Mafia: Effulgent Edition

Post by DanielH »

I noticed that had continued to be the case after you pointed it out with the entrails (assuming that signs of Capricorn are only visible after death). Except, why couldn't people cut down saplings while somebody is still alive? Do the rings only confirm it after knowing my will?
Post Reply