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)
Exibir arquivo
Open project: privatebin/privatebin
Class Usage Examples
Public Methods
Method Details
generate()
public static method
generate a large random hexadecimal salt
get()
public static method
setPath()
public static method