Data update
This commit is contained in:
parent
61b93a2cd1
commit
5af6d93694
858 changed files with 20572 additions and 2082 deletions
|
|
@ -1,16 +0,0 @@
|
|||
import org.bouncycastle.crypto.digests.MD4Digest;
|
||||
import org.bouncycastle.util.encoders.Hex;
|
||||
|
||||
public class RosettaMD4
|
||||
{
|
||||
public static void main (String[] argv) throws Exception
|
||||
{
|
||||
byte[] r = "Rosetta Code".getBytes("US-ASCII");
|
||||
MD4Digest d = new MD4Digest();
|
||||
d.update (r, 0, r.length);
|
||||
byte[] o = new byte[d.getDigestSize()];
|
||||
d.doFinal (o, 0);
|
||||
Hex.encode (o, System.out);
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue