andytoshi changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | This channel is logged. | For logs and more information, visit https://bitcoin.ninja
tromp has joined #bitcoin-wizards
contrapumpkin is now known as copumpkin
tromp has quit [Remote host closed the connection]
Belkaar has quit [Ping timeout: 246 seconds]
Belkaar has joined #bitcoin-wizards
Belkaar has quit [Changing host]
Belkaar has joined #bitcoin-wizards
Belkaar has quit [Ping timeout: 268 seconds]
Belkaar has joined #bitcoin-wizards
Belkaar has quit [Changing host]
Belkaar has joined #bitcoin-wizards
belcher_ has joined #bitcoin-wizards
belcher has quit [Ping timeout: 240 seconds]
certh has quit [Ping timeout: 240 seconds]
certh has joined #bitcoin-wizards
certh has quit [Ping timeout: 245 seconds]
certh has joined #bitcoin-wizards
roconnor has quit [Quit: Konversation terminated!]
tromp has joined #bitcoin-wizards
tromp has quit [Ping timeout: 252 seconds]
tromp has joined #bitcoin-wizards
tromp has quit [Ping timeout: 252 seconds]
smartineng has joined #bitcoin-wizards
smartineng has quit [Excess Flood]
smartineng has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
tromp has quit [Ping timeout: 252 seconds]
tromp has joined #bitcoin-wizards
tromp has quit [Ping timeout: 240 seconds]
tromp has joined #bitcoin-wizards
tromp has quit [Ping timeout: 240 seconds]
tromp has joined #bitcoin-wizards
certh has quit [Read error: Connection reset by peer]
certh has joined #bitcoin-wizards
vtnerd has joined #bitcoin-wizards
bildramer has quit [Ping timeout: 260 seconds]
TheoStorm has joined #bitcoin-wizards
jwheare1 has quit [Remote host closed the connection]
tromp has quit [Remote host closed the connection]
bildramer has joined #bitcoin-wizards
certh has quit [Remote host closed the connection]
certh has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
certh has quit [Read error: Connection reset by peer]
certh has joined #bitcoin-wizards
belcher_ is now known as belcher
TheoStorm has quit [Ping timeout: 240 seconds]
TheoStorm has joined #bitcoin-wizards
TheoStorm has quit [Client Quit]
tromp has quit [Remote host closed the connection]
mortale has quit [Quit: SomethingSomethingQuitMessage]
fkinglag has joined #bitcoin-wizards
bitjedi has quit [Quit: Connection closed for inactivity]
tromp has joined #bitcoin-wizards
mrmonday has joined #bitcoin-wizards
CryptoDavid has joined #bitcoin-wizards
Guyver2 has joined #bitcoin-wizards
tromp has quit [Remote host closed the connection]
jadi has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
jadi has quit [Remote host closed the connection]
Emcy_ has quit [Read error: Connection reset by peer]
Emcy has joined #bitcoin-wizards
tromp has quit [Remote host closed the connection]
yanmaani has quit [Ping timeout: 240 seconds]
tromp has joined #bitcoin-wizards
yanmaani has joined #bitcoin-wizards
tromp has quit [Ping timeout: 245 seconds]
tromp has joined #bitcoin-wizards
belcher has quit [Ping timeout: 268 seconds]
belcher has joined #bitcoin-wizards
tromp has quit [Remote host closed the connection]
jadi has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
jadi has quit [Ping timeout: 260 seconds]
nioc is now known as DirkGently
tromp has quit [Remote host closed the connection]
tromp has joined #bitcoin-wizards
<kisspunch> Hey, I was looking for feedback on a hand-rolled MAC method. It's closely based on the traditional one-time mac. My mac is: (A&message)^B. It has one known major drawback--the change of one bit of message results in the change of at most one bit of MAC. Other than that, are there additional gotchas, like can parts of the message be shuffled or cloned?
<copumpkin> curious, why? is it for educational purposes or are you trying to use this in an adversarial setting? :P
tromp has quit [Remote host closed the connection]
<kisspunch> Some of both. This is one extreme in block size, and I might genuinely want to use small blocks. Small blocks could be done by hand in the context of authenticating one-time-pads. The traditional linear algebra MAC can't be done by hand and can't be understood by the layman. Bits can be understood by the layman, small blocks maybe maybe not.. For now I'm using the traditional MAC but it's the least transparent part of a cryptosy
<kisspunch> stem and I'd like the whole thing to be transparent.
<sipa> i can't immediately see what's wrong with it, but if it isn't, i'm curious why one-time MACs like poly1305 etc are so much more complicated
<kisspunch> The one-time MAC is a specific operation, (ax+b) mod P. Short writeup here, also on the wikipedia page about MAC. http://web.mit.edu/6.857/OldStuff/Fall97/lectures/lecture3.pdf
<kisspunch> The one-time MAC requires 2N pre-exchanged bits to authenticate N bits, which is why it's not used much
<kisspunch> It's related to the one-time pad in that way (also in that the bits can be used once), thus the name
<sipa> i'm still trying to adapt to this one-timeness model of the keys
<sipa> why would (message^A) not work?
<kisspunch> message = plaintext ^ C is the encryption
<sipa> yes, but why would it not work as a MAC?
<sipa> what's security game?
<kisspunch> One-time-pads doesn't work against known-plaintext. Suppose you know plaintext. Then you replace (plaintext^C) by (bad^C) by xor-ing together: (plaintext^C) and (plaintext^bad)
<sipa> with your scheme you can change any single bit of the message, and have a 50% chance of it being valid with the input MAC
<kisspunch> yes, that's a big drawback, but i know that issue.
<sipa> doesn't that break usual security expectations?
<kisspunch> well it means i probably shouldn't call it a MAC, yes. but i'd like to know if there are additional issues
<kisspunch> i was imagining you could mitigate that issue through some other redesign, but there may be more issues
<kisspunch> i agree it's a huge weakening
<kisspunch> for example, if you appended a 160-bit hash to the ciphertext before MAC, you'd still get 160-bit resistance against guessing MACs
<kisspunch> but yes mostly this is intellectual curiosity about how broken this modification is, the original system seems a lot better
<kisspunch> the general reason to be interested in one-time MAC, since I didn't mention, is that there are no computational assumptions or attacks--it's not possible to break with a supercomputer
<kisspunch> so a version you could do by hand would have some obvious appeal to me at least
mrmonday has quit [Remote host closed the connection]
smartineng has quit [Quit: smartineng]
gleb2 has joined #bitcoin-wizards
gleb has quit [Ping timeout: 240 seconds]
gleb2 is now known as gleb
hmachado has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
TheoStorm has joined #bitcoin-wizards
spinza has quit [Ping timeout: 268 seconds]
tromp has quit [Remote host closed the connection]
tromp has joined #bitcoin-wizards
froglegs has joined #bitcoin-wizards
spinza has joined #bitcoin-wizards
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
froglegs has quit [Client Quit]
luke-jr has quit [Read error: Connection reset by peer]
tromp has quit [Remote host closed the connection]
luke-jr has joined #bitcoin-wizards
fkinglag has quit [Ping timeout: 260 seconds]
TheoStorm has quit [Quit: Leaving]
fkinglag has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
fkinglag has quit [Ping timeout: 268 seconds]
tromp has quit [Remote host closed the connection]
hmachado has quit [Remote host closed the connection]
shesek has quit [Remote host closed the connection]
shesek has joined #bitcoin-wizards