Well, no. Even if you inherit it you can not access the backlog. We could either add accessor methods or add some sort of static pike variables. But we don't HAVE to do that now...
I was thinking more of thingh like having pad and unpad methods that can be overridden, or some optional argument to say which style to use. (But I don't quite see the point of having this class implemented in C anyway).
/ Niels Möller (vässar rödpennan)
Previous text:
2004-02-04 22:29: Subject: Crypto naming
I'm not so sure about that. And if we ever need to implement the original "SHA" function, what should that be named? (Google yields 209 000 hits for "sha1 hash", and only 84 500 for "sha hash", using "all of the words"-queries).
Well, then I'll rename it SHA1.
Odd. No idea what it collided with?
object(is 12), whatever that is.
But on second thought, feed/drain might need an arbitrary large buffer.
That is of course easy to add in a Pike wrapper with String.Buffer.
There are also a few different conventions for padding, so I hope the class can be extended easily.
Well, no. Even if you inherit it you can not access the backlog. We could either add accessor methods or add some sort of static pike variables. But we don't HAVE to do that now...
/ Martin Nilsson (saturator)