Revert "add hash type attribute"

This reverts commit cc43267abf749c32746512841c86c2e62ddc308d.