Bitcoin Forum
April 25, 2024, 04:58:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Game: First person to crack this gets 5 BTC [SOLVED]  (Read 2473 times)
BTCurious
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504


^SEM img of Si wafer edge, scanned 2012-3-12.


View Profile
January 09, 2012, 11:14:06 AM
 #21

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…

1714021083
Hero Member
*
Offline Offline

Posts: 1714021083

View Profile Personal Message (Offline)

Ignore
1714021083
Reply with quote  #2

1714021083
Report to moderator
1714021083
Hero Member
*
Offline Offline

Posts: 1714021083

View Profile Personal Message (Offline)

Ignore
1714021083
Reply with quote  #2

1714021083
Report to moderator
1714021083
Hero Member
*
Offline Offline

Posts: 1714021083

View Profile Personal Message (Offline)

Ignore
1714021083
Reply with quote  #2

1714021083
Report to moderator
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.
1714021083
Hero Member
*
Offline Offline

Posts: 1714021083

View Profile Personal Message (Offline)

Ignore
1714021083
Reply with quote  #2

1714021083
Report to moderator
Ean
Full Member
***
Offline Offline

Activity: 199
Merit: 100



View Profile
January 09, 2012, 11:19:28 AM
 #22

I updated the last post with an explanation.

Quote from: Douglas Adams
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
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504


^SEM img of Si wafer edge, scanned 2012-3-12.


View Profile
January 09, 2012, 11:21:26 AM
 #23

Wow. How the hell did you figure that out?

bulanula
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
January 09, 2012, 11:28:19 AM
 #24

I updated the last post with an explanation.

Looks like the coins are out already LOL.

Is that ( 1QE6bWhqizxUVuq55GjL1SErVKH9YCHb7e ) your address ?
Ean
Full Member
***
Offline Offline

Activity: 199
Merit: 100



View Profile
January 09, 2012, 11:37:08 AM
 #25

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.

Quote from: Douglas Adams
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 Offline

Activity: 2646
Merit: 1130

All paid signature campaigns should be banned.


View Profile WWW
January 09, 2012, 03:25:46 PM
 #26

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 Offline

Activity: 1260
Merit: 1000

Drunk Posts


View Profile WWW
January 09, 2012, 06:02:31 PM
 #27

Congratulations, I didn't think anyone would figure it out that fast.  Cool

I'll post another one of these later today or tomorrow.

Here was my original encoding code:

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
Sr. Member
****
Offline Offline

Activity: 448
Merit: 252


View Profile WWW
January 09, 2012, 07:23:10 PM
 #28

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
ineededausername
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


bitcoin hundred-aire


View Profile
January 09, 2012, 10:54:46 PM
 #29

Grats! Nice puzzle Smiley

(BFL)^2 < 0
NASDAQEnema
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
January 09, 2012, 11:56:11 PM
 #30

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.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!