Ok.
So if I see things right, these mentioned classes should go into "Crypto.pmod/module.pmod" and for each CRC type, I create a module, ie "Crypto.pmod/CRC16X.pmod" ?
On 06/15/2010 09:40 PM, Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum wrote:
The hash API basically works looks like this
class CRC { string name(); int digest_size(); int block_size(); CRCState `() string hash(string data); }
class CRCState { string name(); int digest_size(); int block_size(); string hash(string data); CRCState update(string data); string digest(void|int length); }