From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
The SHA-1 encryption algorithm is often used for encrypting passwords. This is a pure LabVIEW implementation (meaning it will run on Windows, RT, and technically FPGA with a few modifications and fixing array sizes).
The algorithm is similar to the MD5 hash (which is included in LabVIEW).
This version could also serve as the basis for implementing the SHA-2 or variant algorithm in LabVIEW.
I try to calculate a check sum of a full file instead of just a string.
To do so I modified the example as below:
Unfortunately when I compare my result with the one provided with 7-zip i obtain a different result (If you have 7-zip installed on your PC you can gat the sha-1 has just by right click---> CRC sha---> sha1)
I am not sure if 7-zip actually open the file and read the content or it has an other procedure.
Someone has an idea about how can I gat the same result?