title: Testing of AES algorithm implementation in C
body: <p>I've downloaded the code from this <a href="http://www.efgh.com/software/rijndael.htm" rel="nofollow noreferrer">site</a>, compiled it and now trying to test it I got a few problems...</p>
  <p>I generated two files from compilation <strong><code>encrypt</code></strong> and <strong><code>decrypt</code></strong> and instructions from the <a href="http://www.efgh.com/software/rijndael.htm" rel="nofollow noreferrer">site</a> are:</p>
  <blockquote>
  <p>The encryption program is called as follows:</p>
  <blockquote>
  <p><strong><code>encrypt  password  cryptofile</code></strong></p>
  </blockquote>
  <p>It encrypts the standard input (padding it with spaces, if necessary), and writes the result to the specified cryptofile.</p>
  <p>The decryption program is called as follows:</p>
  <blockquote>
  <p><strong><code>decrypt  password  cryptofile</code></strong></p>
  </blockquote>
  <p>It decrypts the cryptofile contents and sends the result (padded with spaces, if necessary) to the standard output.</p>
  </blockquote>
  <p>I'm not getting this programs working the right way... I've tried these:</p>
  <p><code>./encrypt to_be_encrypted_file password_file encrypted_file</code><br />
  <code>./encrypt to_be_encrypted_string password_string encrypted_file</code></p>
  <p>But all I'm getting is the prompt waiting for anything and any change in the <em><strong>encrypted file</strong></em></p>