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
opensubscriber is not affiliated with the authors of this message nor responsible for its content.