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.
For more information on the SHA-1 see:
http://en.wikipedia.org/wiki/SHA_hash_functions
Is there a chance to get these VIs for Labview 8.5? Unfortunately I don't have Labview 9 and need a SHA-1 implementation for password hashing.
Uploaded LV8.0 and later compatible VI's - happy hashing!
I already got a working version for LV8.5 in the forums, but nevertheless: Thank you! I bet this will help some people.
Thanks for sharing!
Hello!
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?
I found the error by myself, here the solution to my question: