Skip to content

Commit e56025b

Browse files
committed
Many formats done for pw-new.dic. Also added bitcoin, dummy, and a few other missing hashes
1 parent 70cd598 commit e56025b

File tree

203 files changed

+300868
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+300868
-1
lines changed

bitcoin_tst.in

+326
Large diffs are not rendered by default.

crypt-sha512.c

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#include <stdio.h>
2+
3+
#define C 64
4+
#define S 16
5+
6+
/*
7+
These are the 8 types of buffers this algorithm uses:
8+
cp
9+
pspc
10+
cspp
11+
ppc
12+
cpp
13+
psc
14+
csp
15+
pc
16+
*/
17+
18+
void crypt_sha512(int P) {
19+
int lens[8], limbs[8], limb_cnt[6]={0}, i;
20+
printf ("%03d - ", P);
21+
lens[0] = C+P;
22+
lens[1] = P+S+P+C;
23+
lens[2] = C+S+P+P;
24+
lens[3] = P+P+C;
25+
lens[4] = C+P+P;
26+
lens[5] = P+S+C;
27+
lens[6] = C+S+P;
28+
lens[7] = P+C;
29+
for (i = 0; i < 8; ++i) {
30+
limbs[i] = (lens[i] + 17)/128 + 1;
31+
limb_cnt[limbs[i]-1]++;
32+
printf ("%03d ", lens[i]);
33+
}
34+
printf (" :: %d %d %d %d %d %d\n", limb_cnt[0], limb_cnt[1], limb_cnt[2], limb_cnt[3], limb_cnt[4], limb_cnt[5]);
35+
}
36+
37+
void main() {
38+
int i;
39+
for (i = 1; i < 125; ++i) {
40+
crypt_sha512(i);
41+
}
42+
}

0 commit comments

Comments
 (0)