separated decrypt hashes and predb