
20 Mar
2009
20 Mar
'09
4:27 p.m.
Hi,
Why the C-like interface? Why not work with iterator, or better, ranges?
The reason for that is there are multiple layers of encapsulation in the library. block_cipher_type is the core algorithm, which is part of the lowest-level of the API. However, there is a block_cipher wrapper "block_cipher" that provides C++ semantics (iterators, ranges, specialised "crypto_buffers" and etc). With Best Regards --- Kasra Nassiri