Simple hash generation