Validate salt for basic format