edu.rit.smp.keysearch
Class MakeKey

java.lang.Object
  extended by edu.rit.smp.keysearch.MakeKey

public class MakeKey
extends Object

Class MakeKey creates a random 256-bit key for a block cipher. The program gets 32 bytes from the kernel's entropy source using class java.security.SecureRandom's getSeed() method, and prints the bytes as a hexadecimal string on the standard output.

Usage: java edu.rit.smp.keysearch.MakeKey


Method Summary
static void main(String[] args)
          MakeKey main program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws Exception
MakeKey main program.

Throws:
Exception


Copyright © 2005-2012 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.