better hashes processing
Exception => Throwable (to catch OOM)