module MD5Gen

Provides md5 compute function that either uses native extention or Ruby digest lib.

Public Class Methods

compute(body) click to toggle source

Convert body string to MD5 hash.

@param body [String] the body to be hashed. @return [String] the hash of the body.

# File lib/md5_gen.rb, line 38
def self.compute body
  underlying_compute_method(body)
end