
At 5:49 PM +0100 3/19/09, Mathias Gaunard wrote:
Kasra wrote:
My proposal is to have a crypto library that provides high-level facilities. The library has different encapsulation layers. Within the low-level (internal) there are algorithms that share the same concept i.e.
class block_cipher_type: + setkey(const void* key, size_type key_size) -> void; + encrypt(void* output, const void* input) -> const void; + decrypt(void* output, const void* input) -> const void;
Why the C-like interface? Why not work with iterator, or better, ranges?
I don't think that this should be an either-or decision. -- -- Marshall Marshall Clow Idio Software <mailto:marshall@idio.com> It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning. It is by caffeine alone I set my mind in motion.