'Process the string to retrieve the MD5 hash
Output from Cisco IOS (ASA is similar)
.MD5 of flash:file_name Done!
verify /md5 (flash:file_name) = 410db2a7015eaa42b1fe71f1bf3d59a2'

@staticmethod
def process_md5(md5_output, pattern=u'=    (.*)'):

    match = re.search(pattern, md5_output)
    if match:
        return match.group(1)
    else:
        raise ValueError(u'Invalid    output    from    MD5    command:    {0}'.format(md5_output))
