Adding salt generation