Well, first of all, MD5 and SHA1 don't have keys as such because they are hashing rather than encryption algorithms.

The length of the hash is 16 bytes for MD5 or 20 bytes for SHA1. This makes the former faster but less secure than the latter.