Main Page | Namespace List | Data Structures | File List | Data Fields | Globals

main.cpp File Reference

#include "main.h"

Functions

int main (int argc, const char *argv[])
 arguments: inputfile, password
void bruteForce (const char *inputfile)
 brute-force attack ciphertext stored in inputfile
string getPassword (int pw[10])
 return 10-letter password corresponding to state pw[10]
void knownPlaintext (const char *plainfile, const char *cipherfile)
 known-plaintext attack

Function Documentation

void bruteForce const char *  inputfile  ) 
 

brute-force attack ciphertext stored in inputfile

string getPassword int  pw[10]  ) 
 

return 10-letter password corresponding to state pw[10]

void knownPlaintext const char *  plainfile,
const char *  cipherfile
 

known-plaintext attack

int main int  argc,
const char *  argv[]
 

arguments: inputfile, password