Hash functions from `crypto` Erlang core module

Due to deprecation of separate `md5/1`, `sha/1` and others, supposing usage single `hash/2` for that cases.