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);
> }

-- 
Dipl.-Ing. Marc Dirix
Electronics Design
Schmeddingstraat 24
6361AZ Nuth

Tel.:   +31(45)7440744
E-Mail: [email protected]
Internet: www.electronics-design.nl
  • Cry... Martin Stjernholm, Roxen IS @ Pike developers forum
  • Cry... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
    • ... Stephen R. van den Berg
      • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Stephen R. van den Berg
            • ... Martin Stjernholm, Roxen IS @ Pike developers forum
            • ... Marc Dirix
              • ... Peter Bortas @ Pike developers forum
              • ... Stephen R. van den Berg
            • ... Marc Dirix
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Marc Dirix
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Marc Dirix
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
            • ... Marc Dirix
        • ... Peter Bortas @ Pike developers forum
          • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
            • ... Peter Bortas @ Pike developers forum
              • ... Stephen R. van den Berg

Reply via email to