Revert "added wrapper function hasWithSHA in CryptoEngine and implemented in GroupThread"

This reverts commit 05a4679b84227ad6595e59436db20ba1df292041.