File Checksum

Aus ExpeccoWiki

Wechseln zu: Navigation, Suche

Description

In this example, the checksum of a file is to be computed (and possibly compared against an expected value). Sample checksum algorithms to use might be CRC32 or the MD5 value.

You find the checksum blocks in "Checksums & Cryptography" under the "Networking and Interfacing" folder.

Checksum Example1.png

To compute a file's checksum, simply feed the file's contents into one of the checksum blocks. Here is a compound block, which expects a filename and computes the CRC32 checksum:

Checksum Example2.png

(For the curious: a corresponding Java-Code example is found here: http://www.javafaq.nu/java-example-code-230.html )


Back to Examples.

Meine Werkzeuge