4
1
So I have a compressed private key. Is it possible to get the uncompressed version of it? If yes, how? Examples in Javascript would be much appreciated.
4
1
So I have a compressed private key. Is it possible to get the uncompressed version of it? If yes, how? Examples in Javascript would be much appreciated.
2
Ok I answered my own question. From: https://github.com/pointbiz/bitaddress.org/blob/master/src/bitcoinjs-lib.eckey.js#L186-L222
bytes = Bitcoin.Base58.decode(compressed_or_uncompressed_private_key);
After some processing, this bytes-array can then be re-encoded into a compressed or uncompressed private key.