/saph-java

Stupid Algorithm for Password Hashing (Java)

Primary LanguageJavaDo What The F*ck You Want To Public LicenseWTFPL

Saph for Java

Saph is the Stupid Algorithm for Password Hashing. This is the Java implementation.

For more information about Saph, go to its specification.

Usage

The class pet.orca.saph.Saph contains the implementation. It may be used as follows:

Saph saph = new Saph();
saph.add("pepper");
saph.add("username");
saph.add("password");
byte[] hash = saph.hash();

The package is available in Maven Central and may be included as:

<dependencies>
	...
	<dependency>
		<groupId>pet.orca</groupId>
		<artifactId>saph</artifactId>
		<version>1.0</version>
	</dependency>
	...
</dependencies>