VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Adler-32 algorithm

by Ed Preston (3 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

Pure visual basic implementation of the Adler-32 algorithm. It is much faster than the CRC32 algorithm yet still provides an extremely low probability of undetected errors. Commonly used in the ZLIB/Deflate Compressed Data Format Specification version 3.3. More info can be found at https://www.info-zip.org/pub/infozip/zlib/rfc-zlib.htm

Assumes
When passing byte arrays be carefull of the file size. It is best to break the file into chunks and call Adler32 multiple times. Byte array is limited to the amount of addressable memory in the process space. The outcome is, pass a 712 meg array and watch your machine grind to a halt while the hard disk tries to page things in and out of memory. Use chunks!

Rate Adler-32 algorithm

Download Adler-32 algorithm

Download Adler-32 algorithm (5 KB)

Adler-32 algorithm Comments

No comments have been posted about Adler-32 algorithm. Why not be the first to post a comment about Adler-32 algorithm.

Post your comment

Subject:
Message:
0/1000 characters