Configureable salt generation