fixed md5, sha1 so that e.g.- md5(indgen(9)) does not segfault