--- Log opened Thu Sep 01 00:00:06 2022 05:38 -!- tibo [~tibo@240d:1a:afa:4000:81b4:4d3c:a62b:2379] has quit [] 07:17 -!- elichai2 [sid212594@id-212594.hampstead.irccloud.com] has quit [Ping timeout: 240 seconds] 07:19 -!- elichai2 [sid212594@id-212594.hampstead.irccloud.com] has joined #bitcoin-rust 09:26 -!- andytosh1 is now known as andytoshi 10:32 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has quit [Ping timeout: 258 seconds] 10:34 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has joined #bitcoin-rust 11:16 < dpc[m]> I started working on Fedimint fulltime, so I'll have to be patient with me asking questions here much more often. :) 11:17 < dpc[m]> I'm looking for a way to turn sha256::Hash` into a `secp256k1::KeyPair`. 11:19 < dpc[m]> One thing that I've got confused on immediately is that `KeyPair::from_secret_key` says `Creates a Schnorr [`KeyPair`] directly from generic Secp256k1 secret key.` 11:20 < dpc[m]> So is `KeyPair` secp256k1 thing, or a Schnorr thing? Or what am I missing? I thought that Schnorr and secp256k1 were a different ... yyy .... "cryptographic systems", so their keys/keypairs wouldn't be freely interchangeable. 11:33 < dpc[m]> For my original goal: I guess I go `SecretKey::from_slice` and then `KeyPair::from_secret_key` 11:36 -!- trev [~trev@user/trev] has quit [Remote host closed the connection] 12:31 < RiccardoCasatta[> > I thought that Schnorr and secp256k1 were a different ...... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/2a0e00a10ae151fd117861f906c13ff8aa2b678d) 13:14 < andytoshi> lol the matrix bridge doesn't bother briding whole messages now? 13:15 < andytoshi> dpc[m]: sounds like you've got it 13:15 < andytoshi> but to answer your confusion -- secp256k1 is the name of an elliptic curve, which can be used for any EC crypto 13:16 < andytoshi> (and sometimes we use it to refer to libsecp256k1 which is the library that does EC crypto for bitcoin on the secp256k1 curve) 13:16 < andytoshi> then EC-schnorr and ECDSA are digital signature algorithms 13:16 < andytoshi> which can be implemented on any curve, and share a key-generation algorith 13:16 < andytoshi> algorithm 14:14 < dpc[m]> I see. Thank you! 15:03 -!- gnusha [~gnusha@user/gnusha] has joined #bitcoin-rust 15:03 -!- Topic for #bitcoin-rust: Discussion of rust-bitcoin, rust-lightning and related crates | For rust-miniscript see ##miniscript | For general bitcoin discussion #bitcoin | Channel logs forthcoming 15:03 -!- Topic set by BlueMatt [~BlueMatt@ircb.bluematt.me] [Thu May 20 08:46:43 2021] 15:03 [Users #bitcoin-rust] 15:03 [ achow101 ] [ BlueMatt ] [ evanlinjin ] [ jrawsthorne ] [ MatrixBot1 ] [ sanket1729 ] 15:03 [ afilini ] [ BlueMatt[m] ] [ FelixWeis ] [ junderw3 ] [ michaelfolkson2 ] [ sanket_cell] 15:03 [ Amnesia` ] [ darosior ] [ fjahr_ ] [ junderw[m]12] [ moneyball__ ] [ sebx2a ] 15:03 [ andytoshi ] [ DeanGuss ] [ gnusha ] [ katsu_ ] [ notmandatory ] [ stevenro- ] 15:03 [ appservicebot] [ devrandom ] [ greypw2546002] [ kcalvinalvin] [ otoburb ] [ stick ] 15:03 [ ariard ] [ dpc[m] ] [ h4sh3d ] [ koolazer ] [ plsm___ ] [ willcl_ark ] 15:03 [ arik ] [ dunxen ] [ Jackielove4u ] [ ksedgwic ] [ reardencode ] [ wpaulino ] 15:03 [ arturomf94[m]] [ elichai2 ] [ jeremyrubin ] [ lightningbot] [ RiccardoCasatta[] [ ws11__ ] 15:03 [ b10c ] [ emzy ] [ jetpack ] [ M0x1729[m]1 ] [ RubenSomsen ] [ x88x88x ] 15:03 [ b42 ] [ EvanFeenstra[m]] [ jkczyz ] [ M1asdfah[m] ] [ sandipndev ] [ yakshaver ] 15:03 -!- Irssi: #bitcoin-rust: Total of 60 nicks [0 ops, 0 halfops, 0 voices, 60 normal] 15:04 -!- Channel #bitcoin-rust created Wed May 19 14:34:56 2021 15:06 -!- Irssi: Join to #bitcoin-rust was synced in 188 secs 15:44 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has quit [Ping timeout: 258 seconds] 15:45 -!- evanlinjin [~root@gateway/tor-sasl/evanlinjin] has joined #bitcoin-rust 16:11 -!- tibo [~tibo@240d:1a:afa:4000:a01f:8976:1801:36f3] has joined #bitcoin-rust 20:52 -!- trev [~trev@user/trev] has joined #bitcoin-rust --- Log closed Fri Sep 02 00:00:08 2022