opensubscriber
   Find in this group all groups
 
Unknown more information…

g : gnu-crypto-discuss@gnu.org 29 May 2006 • 7:35AM -0400

[GNU Crypto] Adding new block ciphers; encrypt() not defined anywhere?
by Morgon Kanter

REPLY TO AUTHOR
 
REPLY TO GROUP




Hello,

I'm currently in the process of trying to add block ciphers to GNU
Crypto, and I've run across something I've found to be a bit odd.

Every block cipher's function encryptBlock() and decryptBlock() call the
functions encrypt() and decrypt(), as defined in the BaseBlockCipher
class, which every block cipher extends. However, encrypt() and
decrypt() are left to be defined to the children. So, would it make
sense to add something like:

protected abstract void encrypt(parameters);
protected abstract void decrypt(parameters);

to the BaseBlockCipher class? It just seems to me like a strange
omission.

-- Morgon


_______________________________________________
gnu-crypto-discuss mailing list
gnu-crypto-discuss@gnu....
http://lists.gnu.org/mailman/listinfo/gnu-crypto-discuss

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.