sipa changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | http://bitcoin.ninja/ | This channel is logged. | For logs and more information, visit http://bitcoin.ninja
tromp has quit [Ping timeout: 252 seconds]
Dizzle has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
nuncanada has joined #bitcoin-wizards
ghost43 has quit [Ping timeout: 256 seconds]
ghost43 has joined #bitcoin-wizards
nuncanada has quit [Ping timeout: 246 seconds]
thomasa__ has joined #bitcoin-wizards
jb55 has quit [Quit: WeeChat 2.2]
antanst has quit [Quit: ZNC 1.7.1 - https://znc.in]
antanst has joined #bitcoin-wizards
Chris_Stewart_5 has quit [Ping timeout: 272 seconds]
TheoStorm has quit [Ping timeout: 272 seconds]
Noldorin has joined #bitcoin-wizards
Noldorin has quit [Client Quit]
TheoStorm has joined #bitcoin-wizards
nuncanada has joined #bitcoin-wizards
nuncanada has quit [Remote host closed the connection]
rh0nj has quit [Remote host closed the connection]
rh0nj has joined #bitcoin-wizards
Krellan has quit [Read error: Connection reset by peer]
Krellan has joined #bitcoin-wizards
Belkaar has quit [Ping timeout: 252 seconds]
thomasa__ has quit [Remote host closed the connection]
Belkaar has joined #bitcoin-wizards
Belkaar has joined #bitcoin-wizards
Belkaar has quit [Changing host]
thomasa__ has joined #bitcoin-wizards
Murch has quit [Quit: Snoozing.]
thomasa__ has quit [Remote host closed the connection]
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Remote host closed the connection]
_tin has joined #bitcoin-wizards
_tin has quit [Ping timeout: 252 seconds]
_tin has joined #bitcoin-wizards
pk has joined #bitcoin-wizards
thomasa__ has joined #bitcoin-wizards
pk has quit [Ping timeout: 256 seconds]
thomasa__ has quit [Ping timeout: 245 seconds]
ghost43 has quit [Remote host closed the connection]
ghost43 has joined #bitcoin-wizards
Dizzle has quit [Quit: Leaving...]
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Remote host closed the connection]
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Remote host closed the connection]
gribble has quit [Remote host closed the connection]
intcat has quit [Ping timeout: 256 seconds]
intcat has joined #bitcoin-wizards
gribble has joined #bitcoin-wizards
rmwb has quit [Read error: Connection reset by peer]
rmwb has joined #bitcoin-wizards
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 252 seconds]
Emcy has quit [Read error: Connection reset by peer]
Emcy has joined #bitcoin-wizards
maaku has quit [Quit: ZNC - https://znc.in]
maaku has joined #bitcoin-wizards
tromp has quit [Remote host closed the connection]
tromp has joined #bitcoin-wizards
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 252 seconds]
PaulTroon_ has joined #bitcoin-wizards
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 268 seconds]
<kallewoof> waxwing: I'm confused about the whole hash G to get NUMS basepoint. If you JUST take the hash it's not a curve point at all, at least not on the same curve as G.
<kallewoof> And if you multiply by G you .. know the opening to the commitment to the generator which doesn't sound good.
setpill has joined #bitcoin-wizards
<waxwing> kallewoof, you basically interpret the hash value (32 bytes) as a potential x-coordinate of a curve point
<kallewoof> waxwing: hm. I tried that and it didn't work for some reason.
<waxwing> rather than multiply, as you say, that'd be pointless
<waxwing> well, it won't work about half the time
<waxwing> because the order of the curve is close to 2^256, and every x coordinate which solves the equation has two valid y values, there are two curve points for every x that fits
<waxwing> hence, about half of the x values in range have curve points (2 of them), and the others have none
thomasa__ has joined #bitcoin-wizards
<kallewoof> oh. yeah, it worked after a few tries!
<waxwing> so if you do this 'coerce to point' operation, you have a ~ 50% chance of getting it to work each time. One reasonable approach is to do H(G||i)
<waxwing> where i is a counter and just increment
<waxwing> of course we've obfuscated exactly how you serialize 'G' in that, but it doens't really matter
<kallewoof> Got it! Thanks a lot :)
SopaXorzTaker has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 268 seconds]
SopaXorzTaker has quit [Remote host closed the connection]
<sipa> kallewoof: there also exist algorithms that map onto the curve in constant time, without needing to iterate
<sipa> though they're much more complicated
<kallewoof> sipa: good to hear, but wil stick to simple for now :)
Krellan has quit [Ping timeout: 260 seconds]
thrmo has quit [Quit: Waiting for .007]
TheoStorm has quit [Ping timeout: 272 seconds]
<sipa> kallewoof: yeah, repeated hashing onto x coordinates in generally how you do it when that's sufficient :)
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 252 seconds]
laurentmt has joined #bitcoin-wizards
phwalkr has joined #bitcoin-wizards
SopaXorzTaker has joined #bitcoin-wizards
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Read error: Connection reset by peer]
thomasa__ has joined #bitcoin-wizards
funkenstein_ has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 244 seconds]
thrmo has joined #bitcoin-wizards
tromp has quit [Ping timeout: 252 seconds]
tromp has joined #bitcoin-wizards
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 252 seconds]
<waxwing> sipa, that's interesting; where is that useful? some kind of CA thing? or oh, maybe bulletproofs with the vector pedersen commitment stuff?
<sipa> waxwing: we were looking into it for CA, so you can construct assets in constant time
<sipa> "Indifferentiable hashing to Barreto-Naehrig curves"
<waxwing> ah ok, thanks
laurentmt has quit [Ping timeout: 252 seconds]
<maaku> why repeated hashing and not just increment the x coord after the first hash until you get something on the curve?
<sipa> maaku: biased output
<sipa> if you have a gap of N consecutive non-valid x coordinates, the next one has n times higher probability of being chosen
<maaku> ok that's enough reason, but out of curiousity is that exploitable or a theoretical concern?
thomasa__ has joined #bitcoin-wizards
funkenstein_ has quit [Quit: Leaving]
<sipa> maaku: i think it may be theoretical only
thomasa__ has quit [Ping timeout: 260 seconds]
phwalkr has quit [Quit: Leaving...]
Chris_Stewart_5 has joined #bitcoin-wizards
setpill has quit [Quit: o/]
setpill has joined #bitcoin-wizards
Chris_Stewart_5 has quit [Ping timeout: 252 seconds]
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 272 seconds]
shesek has quit [Ping timeout: 244 seconds]
Deinogalerix21 has joined #bitcoin-wizards
SopaXorzTaker has quit [Quit: Leaving]
Guyver2 has joined #bitcoin-wizards
thomasa__ has joined #bitcoin-wizards
phwalkr has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 252 seconds]
Chris_Stewart_5 has joined #bitcoin-wizards
kristofferR has joined #bitcoin-wizards
CheckDavid has joined #bitcoin-wizards
phwalkr has quit [Ping timeout: 252 seconds]
phwalkr has joined #bitcoin-wizards
phwalkr has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Deinogalerix21 has quit [Quit: WeeChat 2.2]
belcher_ has joined #bitcoin-wizards
_tin has quit [Ping timeout: 252 seconds]
michaelsdunn1 has joined #bitcoin-wizards
p0nziph0ne has joined #bitcoin-wizards
shesek has joined #bitcoin-wizards
deusexbeer has quit [Ping timeout: 272 seconds]
thomasa__ has joined #bitcoin-wizards
Krellan has joined #bitcoin-wizards
Krellan has quit [Ping timeout: 252 seconds]
thomasa__ has quit [Ping timeout: 252 seconds]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
TheoStorm has joined #bitcoin-wizards
Murch has joined #bitcoin-wizards
Krellan has joined #bitcoin-wizards
shesek has quit [Ping timeout: 268 seconds]
Krellan has quit [Remote host closed the connection]
shesek has joined #bitcoin-wizards
shesek has quit [Changing host]
shesek has joined #bitcoin-wizards
CubicEarth has quit [Ping timeout: 245 seconds]
shesek has quit [Ping timeout: 252 seconds]
CubicEarth has joined #bitcoin-wizards
thrmo has quit [Quit: Waiting for .007]
Zenton has quit [Read error: Connection reset by peer]
Zenton has joined #bitcoin-wizards
floam412 has joined #bitcoin-wizards
vtnerd has quit [Ping timeout: 252 seconds]
mthiel_ has joined #bitcoin-wizards
floam412 has quit [Ping timeout: 260 seconds]
mthiel has quit [Ping timeout: 245 seconds]
floam412 has joined #bitcoin-wizards
koshii has quit [Ping timeout: 244 seconds]
enemabandit has joined #bitcoin-wizards
merlinsbeard has joined #bitcoin-wizards
koshii has joined #bitcoin-wizards
brianhoffman has quit [Quit: brianhoffman]
thomasa__ has joined #bitcoin-wizards
thomasa__ has quit [Ping timeout: 252 seconds]
floam412 has quit [Ping timeout: 252 seconds]
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
merlinsbeard has quit [Ping timeout: 244 seconds]
CheckDavid has quit [Quit: Connection closed for inactivity]
floam412 has joined #bitcoin-wizards
timerskull has quit [K-Lined]
merlinsbeard has joined #bitcoin-wizards
Chris_Stewart_5 has quit [Ping timeout: 245 seconds]
CheckDavid has joined #bitcoin-wizards
floam412 has quit [Ping timeout: 252 seconds]
Chris_Stewart_5 has joined #bitcoin-wizards
p0nziph0ne has quit [Quit: Leaving]
son0p has joined #bitcoin-wizards
PaulTroon_ has quit [Ping timeout: 268 seconds]
merlinsbeard has quit [Quit: Leaving.]
Chris_Stewart_5 has quit [Ping timeout: 268 seconds]
michaelsdunn1 has quit [Remote host closed the connection]
tromp has quit [Remote host closed the connection]
tromp has joined #bitcoin-wizards
reallll has joined #bitcoin-wizards
belcher_ has quit [Ping timeout: 245 seconds]
Zenton has quit [Read error: Connection reset by peer]
Zenton has joined #bitcoin-wizards
son0p has quit [Remote host closed the connection]
enemabandit has quit [Ping timeout: 252 seconds]
esotericnonsense has quit [Remote host closed the connection]
esotericnonsense has joined #bitcoin-wizards
Zenton has quit [Ping timeout: 268 seconds]
Zenton has joined #bitcoin-wizards