2.5.1Checksums

Classes providing checksum functions

This group of classes provides simple checksum functions to verify integrity of arbitrary data. They are NOT meant for use in cryptographic algorithms or safe data verification!

Classes

Functions

adler32

Convenience function that calculates a 32 bits long Adler32 checksum

adler32()
ReturnA lowercase hexadecimal string with the adler32 checksum.

This function takes an arbitrary amount of parameters. See HashBase.update() for details.

The semantics are equal to:


    function adler32(...)
        hash = Adler32()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

Note: This is a shortcut function that does neither require creation of a Adler32 object, nor finalization.

See also: Adler32.

See also: Adler32.

Made with http://www.falconpl.org