-----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-----

Reply via email to