Taking the MD5 of a binary file Ruby script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: 25
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Ruby
  • Price:Other Free / Open So
  • Company: Two Grunts (View more)

Taking the MD5 of a binary file script description:




Publisher review:
Taking the MD5 of a binary file allows you to get the MD5 hash of a file in Ruby. Taking the MD5 of a binary file allows you to get the MD5 hash of a file in Ruby.

If you're on a DOS/Windows system and you simply read in the file and pump it through the Digester, things that look like carriage control may not become part of your hash and your MD5 will be incorrect.

For example, if you use either File or IO class methods, it might appear to work but you would be oh-so-sad because it really didn't. Imagine taking the MD5 of a Unix shared library, say, libthingy.so.
Taking the MD5 of a binary file is a Ruby script for Internet, Browsers and Tools scripts design by Two Grunts. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Taking the MD5 of a binary file allows you to get the MD5 hash of a file in Ruby.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5