Author

Topic: BrainwalletX randomized + XOR + compressed keys + live updating (Read 296 times)

full member
Activity: 1589
Merit: 214
After I readed this: https://runkit.com/gojomo/baddr2taddr/1.0.1

I did new changes:
Supporting ZCash t-address (transparent address) with bytes [0x1c,0xb8] added.
- Generating address (see Address button)
- add this to converter. Convert bitcoin address to t-address and t-addr to bitcoin addr.
- using get-parameters from url.
- validate checksum for addresses.

Download: transparent_brainwalletX.github.io-master_XOR.zip

1. Press button "Cкaчaть";
2. Unzip zip-file;
3. See source code, changes.txt, and open index.html in the tab of your browser.
This can working locally.


Now you can locally convert t-address to bitcoin address and bitcoin address to transparent address.
You can check addresses here:
https://baddr2taddr-jkvbqrxovmbu.runkit.sh/1NFEViMdeYT4CcH5XLzPzsjwBiNPq8uRpg
t1f7qW3mmcsEeoFKyTmoX8gqrSNZUaDv6c6
and here:
https://baddr2taddr-jkvbqrxovmbu.runkit.sh/t1f7qW3mmcsEeoFKyTmoX8gqrSNZUaDv6c6
1NFEViMdeYT4CcH5XLzPzsjwBiNPq8uRpg

I did test it by importprivkey and dumpprivkey from transparent address. Test - OK.
full member
Activity: 1589
Merit: 214
I did go to http://btcgpu.com/ then I saw the form with input BTC address.
There was been an link on the site https://MYBTGWALLET.COM
I remember MyEtherWallet so i go there and see web-wallet.
Addresses is beginning from G and A symbol. Compressed and uncompressed.
I did download zip and see public key version bytes 0x27 (G) and 0x17 (A) for new SegWit addresses.
So I did add this both to previous modified brainwallet (see my previous posts).
Compressed and uncompressed keys and addresses is available there.
Also I did add supporting for Segwit addresses and simply JS file encryptor in browser.
You all can download it and test here: http://rgho.st/7vlks4Rgh
Just press button "Cкaчaть" to get zip,
unzip it
and open index.html in the tab of your browser.

Now BTG you can select there and generate addresses for mining. Open source.
Just quote this here.
This brainwalletX supporting new SegWit addresses (with byte 0x14) Bitcoin Gold (compressed and uncompressed keys)
and client side JS AES ecryption/decryption for files (<1 MB).
full member
Activity: 1589
Merit: 214
Hey, people!
Is there any encryption algorithms for bitcoin?
I know that in bitcoin is using elliptic curve and ECDSA for sign, but there is also ECC (Elliptic-curve cryptography)?
I also know about two keys using in bitcoin Private key and public key?
Can I realize asymmetric cryptography using this two keys?
For example, encryption by private key and decryption by public key?
Or encryption by public key and decryption by private key?

I know about symmetric algorithms, but there is a stable key.
It must be transfered to another person.
For example openssl using aes-256-cbc encryption and there can be used bitcoin private key (256 bit too),
or hash from private key (32 bytes too). But ... This key need for encrypt and decrypt.
It's not asymetric cryptography.
RSA and Diffie-Hellman also can be used for assymmetric cryptografy, but not each numbers good crypto stability.

How to use ECC for encrypt and decrypt files, for expample? Can it be asymmetric cryptography?
full member
Activity: 1589
Merit: 214
I have several times did change the source code of http://brainwalletx.github.io/
for do supporting a different coins,
but now I was not too lazy and took the time
to write a universal brainwalletX for all alt-coins.

Just for this reasons:
https://rya.nc/cracking_cryptocurrency_brainwallets.pdf
https://bitcointalksearch.org/topic/brainwallet-defcon-attack-discussion-advice-qa-brainflayer-info-etc-1148611
I did add random_seed parameter and XOR to this hash
and also I did unlock the button "Secure random" (just found it in the source code).  Grin

I see the private keys and addressed are different by some parameters:
public_key_version, private_key_version and can be compressed and uncompressed.
I did it compatible now with all altcoins.
Maybe now you can do signing raw transactions and send it to miners and mining pools.
This open the way to do "multicoin web-wallet", to make transfers and masspay transactions
without need to downloading any blockchains.

You can test and download it here "CКAЧATЬ": BrainwalletX_XOR [LINK] This file will be deleted after 90 days.
1. Unzip to the folder.
2. index.html -> drag and drop this file to the tab of your browser.
3. You can compare the open source code and see changes.txt

Maybe need to add or change anything else? Just PM me.

P.S.:
Now this brainwallet can be a multi-coin web-wallet, like waves wallet client (https://waveswallet.io/)
if changes the source code can gives the way to sign RAW transactions
and send it to miners and mining pools in decentralized networks for each coin,
but if for connections brainwalletx will be using universal multi-explorers,
with JSON answers like http://yiimp.eu/explorer to load transactions history by address.
In this case any user can make transfers and masspay transactions
without need to downloading any block and blockchains (only private keys and internet connection).
Also all different keys for all supporting coins can be coded by one seed, like this waves lite client.
Jump to: