Adjust keylength

Discussion related to AES Crypt, the file encryption software for Windows, Linux, Mac, and Java.
Post Reply
samatthias
Posts: 1
Joined: Thu Jan 13, 2011 1:04 pm

Adjust keylength

Post by samatthias » Thu Jan 13, 2011 1:09 pm

Hi AESCrypt Team


First of all: Thanks for providing AESCrypt as an opensource software!

I've got a small question: Is it possible to adjust the key size from 256bit to 128bit? I copied the Java source code to my Eclipse environement and I'm wondering how I can do that. It seems that this variable is
private static final int KEY_SIZE = 32; the one I'm looking for, but I'm not sure.

best regards
Matthias/Switzerland

dav.garcia
Posts: 2
Joined: Mon Nov 29, 2010 7:47 am
Location: Murcia, Spain
Contact:

Re: Adjust keylength

Post by dav.garcia » Fri Jan 14, 2011 8:17 am

Hi,

Unfortunately, I think it's not possible.
Constant values were extracted from the main code to make it easier to understand and maintain, but still they are not variables or configuration options and should not be changed.

Post Reply