2.5.2Strong hashes

Classes providing strong hashes, suitable for cryptography

Hashes in this group are cryptographically strong and can be used for secure verification of data.

Classes

Functions

ripemd160

Convenience function that calculates a 160 bits long RIPEMD160 hash

ripemd160()
ReturnA lowercase hexadecimal string with the RIPEMD160 hash.

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

The semantics are equal to:


    function ripemd160(...)
        hash = RIPEMD160Hash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: RIPEMD160Hash.

ripemd256

Convenience function that calculates a 256 bits long RIPEMD256 hash.

ripemd256()
ReturnA lowercase hexadecimal string with the RIPEMD256 hash.

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

The semantics are equal to:


    function ripemd256(...)
        hash = RIPEMD256Hash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: RIPEMD256Hash.

ripemd320

Convenience function that calculates a 320 bits long RIPEMD320 hash

ripemd320()
ReturnA lowercase hexadecimal string with the RIPEMD320 hash.

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

The semantics are equal to:


    function ripemd320(...)
        hash = RIPEMD320Hash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: RIPEMD320Hash.

sha224

Convenience function that calculates a 224 bits long SHA224 hash

sha224()
ReturnA lowercase hexadecimal string with the SHA224 hash.

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

The semantics are equal to:


    function sha224(...)
        hash = SHA224Hash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: SHA224Hash.

sha256

Convenience function that calculates a 256 bits long SHA256 hash

sha256()
ReturnA lowercase hexadecimal string with the SHA256 hash.

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

The semantics are equal to:


    function sha256(...)
        hash = SHA256Hash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: SHA256Hash.

sha384

Convenience function that calculates a 384 bits long SHA384 hash

sha384()
ReturnA lowercase hexadecimal string with the SHA384 hash.

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

The semantics are equal to:


    function sha384(...)
        hash = SHA384Hash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: SHA384Hash.

sha512

Convenience function that calculates a 512 bits long SHA512 hash

sha512()
ReturnA lowercase hexadecimal string with the SHA512 hash.

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

The semantics are equal to:


    function sha512(...)
        hash = SHA512Hash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: SHA512Hash.

tiger

Convenience function that calculates a 192 bits long Tiger hash

tiger()
ReturnA lowercase hexadecimal string with the Tiger hash.

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

The semantics are equal to:


    function tiger(...)
        hash = TigerHash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: TigerHash.

whirlpool

Convenience function that calculates a 512 bits long Whirlpool hash

whirlpool()
ReturnA lowercase hexadecimal string with the Whirlpool hash.

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

The semantics are equal to:


    function whirlpool(...)
        hash = WhirlpoolHash()
        hash.update(...)
        hash.finalize()
        return hash.toString()
    end

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

See also: WhirlpoolHash.

See also: WhirlpoolHash.

Made with http://www.falconpl.org