Re: base64 and checksums1991-10-31 10:52:111. Someone propose a relatively simple checksum algorithm to be applied to the content prior to encoding. Okay, here's a specific proposal: CRC-16. The implementation used in bencode uses a 512-byte table and six integer operations per byte, counting table lookup as two (indexing and fetch). The cost does not seem excessive, and the code is freely available. Henry Spencer at U of Toronto Zoology henry(_at_)zoo(_dot_)toronto(_dot_)edu utzoo!henry
|
|