added fastHash implementation