hash and mac api changed, hash more asserts