Class BIAES

java.lang.Object
  |
  +--BIAES

public class BIAES
extends java.lang.Object

BIAES - a bijective version of AES (Rijndael).

This program uses bijective padding in conjunction with AES (Rijndael).

It uses either a hashed keyphrase - or 128, 192, or 256-bit keys.

This code has been placed in the public domain.

You can do what you like with it.

Note that this code comes with no warranty.

Note that the "Rijndael_Algorithm" file has additional copyright notices.


Constructor Summary
BIAES()
           
 
Method Summary
static byte[] decrypt(byte[] input_array, java.lang.String key_phrase, boolean iv)
          Decrypt data using Rijndael in CBC mode, with bijective padding...
static void decrypt(java.lang.String input_file, java.lang.String output_file, java.lang.String key_phrase, boolean iv)
          Decrypt data from input_file and store the result in output_file using Rijndael in CBC mode, with bijective padding...
static byte[] encrypt(byte[] input_array, java.lang.String key_phrase, boolean iv)
          Encrypt data using Rijndael in CBC mode, with bijective padding...
static void encrypt(java.lang.String input_file, java.lang.String output_file, java.lang.String key_phrase, boolean iv)
          Encrypt data from input_file and store the result in output_file using Rijndael in CBC mode, with bijective padding...
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BIAES

public BIAES()
Method Detail

encrypt

public static byte[] encrypt(byte[] input_array,
                             java.lang.String key_phrase,
                             boolean iv)
Encrypt data using Rijndael in CBC mode, with bijective padding...


encrypt

public static void encrypt(java.lang.String input_file,
                           java.lang.String output_file,
                           java.lang.String key_phrase,
                           boolean iv)
Encrypt data from input_file and store the result in output_file using Rijndael in CBC mode, with bijective padding...


decrypt

public static byte[] decrypt(byte[] input_array,
                             java.lang.String key_phrase,
                             boolean iv)
Decrypt data using Rijndael in CBC mode, with bijective padding...


decrypt

public static void decrypt(java.lang.String input_file,
                           java.lang.String output_file,
                           java.lang.String key_phrase,
                           boolean iv)
Decrypt data from input_file and store the result in output_file using Rijndael in CBC mode, with bijective padding...


main

public static void main(java.lang.String[] args)