# License: public domain, credits go to philsmd and hashcat, props also to jtr for their electrum_fmt_plug.c code Please still mention it here if you are looking into implementing it s.t. Update: I see quite little interest in this and my "discoveries", so it's currently quite low in my priorities to look into this. Maybe there are more obstacles that I didn't consider yet, but besides including that specific elliptic curve and adding the new kernels with a hook function, I do not see much more trouble for adding this new hash type (I think we can do both $electrum$4 and $electrum$5 with just one new hash type. deps/secp256k1) folder, we have both the zlib and elliptic curve cryptography (ecc) code for the hook needed for $electrum$4 and $electrum$5, that's my educated guess right now. Therefore, if we add these secp256k1 source code into the deps/ (e.g. I've done some little reseach again and it seems that many projects use this MIT licensed (very good for us !!!) elliptic curve with parameters Secp256k1 ( ) used by bitcoin: We could also try to ping which seem to have helped with other/older ethereum salt-types see #1805. As a starter, you could first get started with an (hopefully) easier hash mode: $electrum$3 and after you are accustomed with the hashcat code and especially the module feature, you can start experiencing with hooks (see -m 11600 = 7-Zip for an example of hook and decompression). So how do we proceed, I would suggest that you start implementing the hook code and look for elliptic curve code that we could use (compatible license etc). but $electrum$4 and $electrum$5 need almost the same code (except decompression for $electrum$5 which we already support with deps/zlib/ ). in theory (for the purpose of getting $electrum$5 hashes working soon) you could skip the $electrum$3, because it's more closer to $electrum$2. If I'm not totally mistaken we would need the hook and elliptic curve cryptography for both the $electrum$4 and $electrum$5 hashes. The natural order would be to first implement $electrum$3*, then $electrum$4* and finally $electrum$5*.
0 Comments
Leave a Reply. |