Sunday, February 05, 2006

poor man's key generation

jonas, ito muna gamitin mo for key generation... although we're still deciphering if the generated strings/bytes are valid keys (see last part below; pero nakaspecify naman sa method na 1024-bit ang keysize eh).

Example File: KeyTools.java
Output files: Found here.
Algorithm: DSA (not sure if DH is included by default.)

[public|private][n], where n:
1=whole key instance is written to file
2=key.getEncoded() is written to file, returns byte[]
3=String conversion of (2) is written, returns String

character count of public vs private [n] files in Notepad++:
1=700 vs 594 (doesn't help)
2=471 vs 362
3=732 vs 543

0 Comments:

Post a Comment

<< Home