adding support of md5 and sha1 coming in finalization