edu.rit.smp.keysearch
Class Encrypt

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

public class Encrypt
extends Object

Class Encrypt prepares input for the AES partial key search programs. The program's command line arguments are a message string to encrypt, the encryption key, and n, the number of key bits to search for. The program prints on the standard output the plaintext (128-bit hexadecimal number), the ciphertext (128-bit hexadecimal number), the partial key with the n least significant bits set to 0 (256-bit hexadecimal number), and n, the number of key bits to search for.

Usage: java edu.rit.smp.keysearch.Encrypt message key n
message = Message string to encrypt
key = Encryption key (256-bit hexadecimal number)
n = Number of key bits to search for


Method Summary
static void main(String[] args)
          Encrypt 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
Encrypt main program.

Throws:
Exception


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