Better salt generation