Add hash validation for config variable