PHP Class PrivateBin\Persistence\ServerSalt
This is a random string which is unique to each PrivateBin installation.
It is automatically created if not present.
Salt is used:
- to generate unique VizHash in discussions (which are not reproductible across PrivateBin servers)
- to generate unique deletion token (which are not re-usable across PrivateBin servers)
Afficher le fichier
Open project: privatebin/privatebin
Class Usage Examples
Méthodes publiques
Method Details
generate()
public static méthode
generate a large random hexadecimal salt
get()
public static méthode
setPath()
public static méthode