db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: Regarding Derby42 : Do not store the encryption key length and the encryption block size in service.properties:
Date Tue, 19 Oct 2004 19:42:00 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sunitha Kambhampati wrote:


>> 2) Since default block size is provider specific (from Javadoc for
>> Cipher), what does the Derby code do with the block size when an
>> encrypted database is booted? Does it request an algorithm with that
>> block size?

Sorry, I was wrong on the provider specific block size, I was confusing
the block size with the processing size in bits talked about in the
overview of the Javadoc for Cipher.



According to this thread, block size is an inherent value of the
algorithm, thus if that is true, Derby does not need to store the block
size at all. Just fetch it each time from the Cipher.getBlockSize() method.

http://forum.java.sun.com/thread.jsp?forum=9&thread=281987

Dan.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBdW4IIv0S4qsbfuQRAnlBAJ9b/nDabeE4c5omRGeClPUZ0oIwiQCfRQBt
aK+EI34War6DTd4jWVd+8k4=
=dDd7
-----END PGP SIGNATURE-----


Mime
View raw message