WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Fingerprints of Electronic Files: Performance Tests

size of hash
128
256
512
compression techniques
drop middle cell
drop last prime cell
sum bits at end row
common hash algorithms
MD5
SHA
SHA256
SHA512
Information stored in digital documents can be lost during transmission, migration, or when the storage medium breaks down or is corrupted. To ensure that the data has not changed, you can perform a digital fingerprint procedure. Up to a small margin of error, a digital fingerprint is unique to each document and therefore verifies the integrity (unaltered state) of the document.
This Demonstration presents some results of using modified cellular automata to generate fingerprints of electronic documents based on their contents. It uses the binary data of the document as the initial condition. The result of the computation is a fingerprint of the document, which can have 128, 256, or 512 bits. This Demonstration evaluates the performance of different compression techniques on different file sizes and of generating different hash sizes compared with common hash algorithms. The timing axis on the graphic is plotted with a logarithmic scale.
Each test measures the time to process each compression technique, which is compared with common hash functions (MD5, SHA), with different hash sizes (128, 256 and 512 bits).
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.