--- Log opened Mon Nov 26 00:00:34 2018 00:10 -!- elichai2 [uid212594@gateway/web/irccloud.com/x-jnsqzbnguqjzylgl] has joined #secp256k1 01:18 -!- gelmutshmidt [~gelmutshm@188.113.19.47] has joined #secp256k1 01:25 -!- Netsplit *.net <-> *.split quits: ensign 01:30 -!- ensign [~ensign@2001:41d0:8:d711::1] has joined #secp256k1 10:39 -!- elichai2 [uid212594@gateway/web/irccloud.com/x-jnsqzbnguqjzylgl] has quit [Quit: Connection closed for inactivity] 11:24 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has quit [Remote host closed the connection] 11:25 -!- sipa [~pw@gateway/tor-sasl/sipa1024] has joined #secp256k1 13:46 -!- Guest77842 [~null@unaffiliated/madars] has quit [Ping timeout: 264 seconds] 14:04 -!- ddustin [a2e9c9d3@gateway/web/cgi-irc/kiwiirc.com/ip.162.233.201.211] has joined #secp256k1 14:06 -!- ddustin [a2e9c9d3@gateway/web/cgi-irc/kiwiirc.com/ip.162.233.201.211] has quit [Client Quit] 14:07 -!- ddustin [~ddustin@unaffiliated/ddustin] has joined #secp256k1 14:35 -!- Guest77842 [~null@unaffiliated/madars] has joined #secp256k1 15:01 -!- Guest77842 [~null@unaffiliated/madars] has quit [Ping timeout: 268 seconds] 15:25 -!- ofek [44864316@gateway/web/freenode/ip.68.134.67.22] has quit [Quit: Page closed] 15:35 -!- gelmutshmidt [~gelmutshm@188.113.19.47] has quit [Remote host closed the connection] 16:00 < ddustin> I am confused by this question -- is secp245k a prime field or a binary field? 16:02 < ddustin> Ah apparently it is on a prime field according to this wiki: https://en.bitcoin.it/wiki/Secp256k1 16:03 < ddustin> A and B are both positive values right? 16:05 < ddustin> Well I guess since A is 0 it's neither. Is B 7 or -7? 16:07 < sipa> ddustin: in finite fields the word "positive" and "negative" have no meaning 16:08 < sipa> the equation is y^2 = x^3 + 7 16:08 < sipa> B is 7 16:08 -!- Guest77842 [~null@unaffiliated/madars] has joined #secp256k1 16:11 < ddustin> Okay that makes sense, thanks 16:16 < sipa> just to be clear, this doesn't mean the negation operation doesn't exist 16:17 < sipa> but for example -7 is the same as 115792089237316195423570985008687907853269984665640564039457584007908834671656, so it's equally positive or negative 16:19 < ddustin> Huh, so is the ecdh as simple as multiplying the public key point by the private key scalar? 16:21 < sipa> yes 16:22 < sipa> and then taking the hash of the result, otherwise it will be gratuitously biased 16:22 < sipa> (which doesn't matter for all applications, but it does to some) 16:23 < sipa> and for curves with a cofactor, verifying that the public point is on the proper subgroup 16:33 -!- Guest77842 [~null@unaffiliated/madars] has quit [Ping timeout: 250 seconds] 16:36 < ddustin> Cool, makes sense 16:55 < ddustin> Why is the even / oddness of the y value also included in the diffie hash? 16:55 < sipa> otherwise one bit of the input would be ignored 16:56 < sipa> (and you'd be able to construct different pubkey/secret pairs that map to the same outout) 17:01 < ddustin> Ah intersting. thanks again. 18:48 -!- _cryptodesktop_i [~John@91.245.77.21] has joined #secp256k1 19:22 -!- _cryptodesktop_i [~John@91.245.77.21] has quit [Ping timeout: 268 seconds] 19:49 -!- ddustin [~ddustin@unaffiliated/ddustin] has quit [Ping timeout: 252 seconds] --- Log closed Tue Nov 27 00:00:35 2018