I think it would be nice to have all buffer objects where you can push data several times and then then ask for (perhaps partial) result to have the same API (feed/drain/finish).
Do you mean that you would like to go from Crypto.foo()->feed(jox)->drain(); to Crypto.foo(jox); ?
/ Martin Nilsson (har bott i google)
Previous text:
2003-03-11 23:00: Subject: nettle-1.7
- I don't remember anything you wrote about a Pike Nettle interface, but I've not had any major problems with the current one. The current interface, but with Capitalized programs and a move from update/digest to feed/drain would satisfy me.
update/digest is farly standard terminology for hash functions. Your wish is the first for feed/drain. feed/drain would make more sense for things liek a CBC object, I guess.
I think the most fundamental change I'd like to do (trivial renames) is that I'd like algorithms to be represented as objects, with a `()-method, instead of as plain programs.
/ Niels Möller ()