10-27-2020 09:35 AM
Okay so in 2018 I used the MD5 Checksum File. And in 2020 it isn't on the palette and the description states.
"This VI is deprecated. Use the File Checksum VI."
Okay so I find the File Checksum VI, and there isn't an MD5 option. Was this function deprecated with no direct replacement? Yes I realize I can still just use the function but I feel like NI should have had an MD5 option in the new File Checksum function.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-27-2020 11:02 AM - edited 10-27-2020 11:05 AM
I was told that MD5 is contraindicated now due to security concerns, and that the new checksum VIs specifically exclude it for this reason.
10-27-2020 11:15 AM
Okay thanks for the response. It is just add to me that it was flagged as deprecated but doesn't have a replacement. I mean I get the motivation, but if I do need to take and actual MD5 of a file, then I guess I'll be using this older function.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-27-2020 11:17 AM
Yeah, I guess it's just semantics. A replacement is provided, one that doesn't have the security flaws inherent in the original implementation.
10-27-2020 11:19 AM
Put another way, NI doesn't think you should use MD5 anymore, so we've provided this better way. If you still want to use MD5, we left the old VI around.
10-27-2020 01:37 PM
My co-worker (who is new to LabVIEW) just ID'd this problem to me, literally yesterday (new user = latest version, I'm still using 2019SP1).
I came away with the same conclusion - they REALLY don't want anyone to use MD5 for the vulnerability - though of course it's still there in the library for backwards compatibility. Complete with red X and deprecation in the description.
Dave
10-27-2020 05:07 PM
From a security point of view MD5 is indeed outdated and insecure, but as a simple hash for fingerprinting a string or file for instance it's not really a big problem to use. I'm not really convinced that it would need such stringent measures.
A message on the front panel and a red exclamation mark in the icon would have been enough in my opinion 😁
01-23-2023 01:38 PM - edited 01-23-2023 01:39 PM
Yes, using MD5 to validate simple copy and paste of test data from a local computer to a server is still considerd a safe and valid way to use the checksum.
Perhaps less safe is to continue to use it for input files that our own engineers create, however going back and changing that for already released test files is not something thats going to happen.
A more nuanced solution would have been appriciated!
04-24-2024 10:13 AM
@Atola wrote:
Yes, using MD5 to validate simple copy and paste of test data from a local computer to a server is still considerd a safe and valid way to use the checksum.
Working in LV2020 and was looking for the the MD5 checksum to do this specifically. I'm reading it's technically available, but do you have to have an older version of LabVIEW? Cuz I don't see it anywhere.
04-24-2024 10:19 AM - edited 04-24-2024 10:21 AM
It's still present in my LabVIEw 2020 installation under vi.lib\Utility\MD5Checksum.llb\MD5Checksum File.vi and vi.lib\Utility\MD5Checksum.llb\MD5Checksum String.vi. It's even in 2024 present under the same name but the LLB has been turned into a directory with the same name.
With a big red cross through the icon!