revert "port high performance implementation of hash algorithms"

This reverts commit 6e802a3c6f46c8e4fb46ea0799c6ba971e651699.