File Checksum
Aus ExpeccoWiki
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.
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:
(For the curious: a corresponding Java-Code example is found here: http://www.javafaq.nu/java-example-code-230.html )
Back to Examples.

