Implement a `length` option to customize the md5 hash length