Changed how MD5 / SHA are computed

Let's change to a way we know works good for computing MD5 / SHA