LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MD5 File 2020 Replacement?

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.

0 Kudos
Message 1 of 7
(559 Views)

I was told that MD5 is contraindicated now due to security concerns, and that the new checksum VIs specifically exclude it for this reason.

DNatt, NI
0 Kudos
Message 2 of 7
(528 Views)

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.

0 Kudos
Message 3 of 7
(518 Views)

Yeah, I guess it's just semantics. A replacement is provided, one that doesn't have the security flaws inherent in the original implementation.

DNatt, NI
0 Kudos
Message 4 of 7
(515 Views)

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.

DNatt, NI
0 Kudos
Message 5 of 7
(512 Views)

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

David Boyd
Sr. Test Engineer
Abbott Labs
(lapsed) Certified LabVIEW Developer
0 Kudos
Message 6 of 7
(457 Views)

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 😁

Rolf Kalbermatter
Averna BV
0 Kudos
Message 7 of 7
(438 Views)