Search Results
|
Post |
Author |
Forum
[asc]
|
Replies |
Views |
Posted |
|
|
Thread: Need to find X in SHA1[(AES-128(X)]
Post: Need to find X in SHA1[(AES-128(X)]
Hi
This is the problem I am trying to solve:
Please take you birthday (day and month) in hexadecimal form. Find message X that SHA1[(AES-128(X)]=0x[18 arbitrary bytes][day][month]. AES key is 0x... |
|
DramaticTical |
General Help
|
13 |
19,892 |
12-30-2014, 04:13 PM |
|
|
Thread: Need to find X in SHA1[(AES-128(X)]
Post: RE: Need to find X in SHA1[(AES-128(X)]
atom Wrote: (12-30-2014, 04:55 PM)
--
I wrote a little code for you that should solve the problem:
Code:
--
#!/usr/bin/env perl
use strict;
use warnings;
use Digest::SHA qw (sha1_hex);
use Crypt:... |
|
DramaticTical |
General Help
|
13 |
19,892 |
12-30-2014, 05:33 PM |
|
|
Thread: Need to find X in SHA1[(AES-128(X)]
Post: RE: Need to find X in SHA1[(AES-128(X)]
atom Wrote: (12-30-2014, 04:55 PM)
--
I wrote a little code for you that should solve the problem:
Code:
--
#!/usr/bin/env perl
use strict;
use warnings;
use Digest::SHA qw (sha1_hex);
us... |
|
DramaticTical |
General Help
|
13 |
19,892 |
12-30-2014, 07:50 PM |
|
|
Thread: Need to find X in SHA1[(AES-128(X)]
Post: RE: Need to find X in SHA1[(AES-128(X)]
epixoip Wrote: (12-30-2014, 11:42 PM)
--
looks like you forgot to tell the program your birthday.
--
Ofc,
# perl sha1aes128date.pl 0402
so I just replace the bold with my own date?
Also in the... |
|
DramaticTical |
General Help
|
13 |
19,892 |
12-31-2014, 12:08 AM |
|
|
Thread: Need to find X in SHA1[(AES-128(X)]
Post: RE: Need to find X in SHA1[(AES-128(X)]
So I just tried to run the program with my birthday as hexadecimal, dosent seem to work.
I think the task wants me to take month and day seperately, january tenth would be 0xA0x1, right?
Is there so... |
|
DramaticTical |
General Help
|
13 |
19,892 |
12-31-2014, 02:28 PM |
|
|
Thread: Need to find X in SHA1[(AES-128(X)]
Post: RE: Need to find X in SHA1[(AES-128(X)]
undeath Wrote: (12-31-2014, 02:43 PM)
--
it would be
"\xa0\x01"
--
I tried both:
@ubuntu:~/Desktop$ perl kood.pl \xa0\x01
@ubuntu:~/Desktop$ perl kood.pl "\xa0\x01"
but it wont give any output.. |
|
DramaticTical |
General Help
|
13 |
19,892 |
12-31-2014, 03:15 PM |
|
|
Thread: Need to find X in SHA1[(AES-128(X)]
Post: RE: Need to find X in SHA1[(AES-128(X)]
atom Wrote: (12-31-2014, 04:30 PM)
--
like this:
Quote:
--
root@et:~/hex# perl bla.pl 0a01
pt: 6861736863617400533c010000000000
ct: cf85ee2fc9e94200235ffebd366faa83
hash: e3dda6fa7bc307c9cbc... |
|
DramaticTical |
General Help
|
13 |
19,892 |
12-31-2014, 04:35 PM |