BTCurious
|
|
January 09, 2012, 11:14:06 AM |
|
Gratz. Can you explain how? It's obviously base64-encoded now. Decoding that, and then encoding in base58 gave me something that began with a 5, which looked like a private key wallet import format, but it was too long…
|
|
|
|
|
|
|
|
|
In order to achieve higher forum ranks, you need both activity points and merit points.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
Ean
|
|
January 09, 2012, 11:19:28 AM |
|
I updated the last post with an explanation.
|
The World Wide Web is the only thing I know of whose shortened form takes three times longer to say than what it's short for
|
|
|
BTCurious
|
|
January 09, 2012, 11:21:26 AM |
|
Wow. How the hell did you figure that out?
|
|
|
|
bulanula
|
|
January 09, 2012, 11:28:19 AM |
|
I updated the last post with an explanation.
Looks like the coins are out already LOL. Is that ( 1QE6bWhqizxUVuq55GjL1SErVKH9YCHb7e ) your address ?
|
|
|
|
Ean
|
|
January 09, 2012, 11:37:08 AM |
|
The base64-decoded string was too long to be a binary key and too short to be a base58-enkoded key. I had the idea that it somehow involved 7 bit ascii values. That yielded a key starting with 6 and that contained colons ... I updated the last post with an explanation.
Looks like the coins are out already LOL. Is that ( 1QE6bWhqizxUVuq55GjL1SErVKH9YCHb7e ) your address ? Yes.
|
The World Wide Web is the only thing I know of whose shortened form takes three times longer to say than what it's short for
|
|
|
BurtW
Legendary
Offline
Activity: 2646
Merit: 1130
All paid signature campaigns should be banned.
|
|
January 09, 2012, 03:25:46 PM |
|
Very nice. The base64 looked pretty obvious to me also that is why I considered myself 1/3 the way there. Didn't see the ascii thing. Well played.
|
Our family was terrorized by Homeland Security. Read all about it here: http://www.jmwagner.com/ and http://www.burtw.com/ Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
|
|
|
mb300sd (OP)
Legendary
Offline
Activity: 1260
Merit: 1000
Drunk Posts
|
|
January 09, 2012, 06:02:31 PM |
|
Congratulations, I didn't think anyone would figure it out that fast. I'll post another one of these later today or tomorrow. Here was my original encoding code: using System; using System.Collections.Generic; using System.Text; using System.Collections;
namespace ConsoleApplication1 { class Program { static void Main(string[] args) { /* Address: 1FezVeQ2unSiCbKwP9UArahNoMwaprCAyJ Privkey: 5JWLNT79k1Ao4yk1j9fj5zQNRuEVrpUi4hsn2v8oFNfTjPM8Wqf */ String key = "5JWLNT79k1Ao4yk1j9fj5zQNRuEVrpUi4hsn2v8oFNfTjPM8Wqf"; String inc = "";
for (int i = 0; i < key.Length; i++) { inc += (char)((byte)key[i] + 1); } key = inc; inc = "";
byte[] bytes = Encoding.ASCII.GetBytes(key);
BitArray bits = new BitArray(bytes); int bit7len = (bits.Length / 8) * 7; while (bit7len % 8 != 0) { bit7len++; } BitArray bit7 = new BitArray(bit7len);
int j = 0; int k = 0; foreach (bool bit in bits) { if (j != 7) { bit7[k] = bit; k++; } j++; if (j == 8) j = 0; }
byte[] ret = new byte[bit7.Length / 8]; bit7.CopyTo(ret, 0);
Console.WriteLine(Convert.ToBase64String(ret));
Console.ReadLine(); } } }
|
1D7FJWRzeKa4SLmTznd3JpeNU13L1ErEco
|
|
|
scintill
|
|
January 09, 2012, 07:23:10 PM |
|
Dang, I was just starting to think about different bit encodings, don't know if I would have gotten it that quickly though. Good job, and looking forward to another round!
Cool to see the code from mb300sd too, btw, thanks.
|
1SCiN5kqkAbxxwesKMsH9GvyWnWP5YK2W | donations
|
|
|
|
NASDAQEnema
|
|
January 09, 2012, 11:56:11 PM |
|
dammit - I practically guessed the model from the fact he said it was encoded not encrypted.
I hate being sick. Can't code challenges :/
|
If you feel Universe has trolled you exclusively, please donate to Emergency Butthurt Support Fund: 1Jv4wa1w4Le4Ku9MZRxcobnDFzAUF9aotH Proceeds go to Emergency Butthurt Escape Pod none of you will be allowed to use. If you have read this far, you must pay Emergency Butthurt Internet Tax.
|
|
|
|