Add hash generation from input string