Continuing off aes-lowmemory derivative crate work in (#98, #99). Every method is public API: Rust has no private trait methods, and encrypt_block applied to user data is ECB mode. The _blocks2 pair does not widen that hazard (it is the same operation on two blocks) so hiding the pair alone would be misleading. The question is how to present the trait as a unit.
Continuing off aes-lowmemory derivative crate work in (#98, #99). Every method is public API: Rust has no private trait methods, and
encrypt_blockapplied to user data is ECB mode. The_blocks2pair does not widen that hazard (it is the same operation on two blocks) so hiding the pair alone would be misleading. The question is how to present the trait as a unit.