How to generate Hash String values