edu.rit.hyb.keysearch
Class FindKeyHyb
- java.lang.Object
-
- edu.rit.hyb.keysearch.FindKeyHyb
-
public class FindKeyHyb extends java.lang.ObjectClass FindKeyHyb is a hybrid SMP cluster parallel program that solves an AES partial key search problem. The program's command line arguments are 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. The ciphertext was created by encrypting the plaintext with the key; however, not all bits of the key are provided. The problem is to find the complete key. The program performs an exhaustive search, trying all possible values for the missing key bits until it finds the key that reproduces the given ciphertext from the given plaintext.Usage: java -Dpj.np=Kp -Dpj.nt=Kt edu.rit.hyb.keysearch.FindKeyHyb plaintext ciphertext partialkey n
Kp = Number of parallel processes
Kt = Number of parallel threads per process
plaintext = Plaintext (128-bit hexadecimal number)
ciphertext = Ciphertext (128-bit hexadecimal number)
partialkey = Partial key (256-bit hexadecimal number)
n = Number of key bits to search for
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)AES partial key search main program.
-
DMelt 3.0 © DataMelt by jWork.ORG