C D E G H K M P R S T U V 

C

changeWorkFactor(byte[], int) - Method in class makwa.Makwa
Change the work factor on a given Makwa output.
createSalt() - Static method in class makwa.Makwa
Create a new salt value.

D

decodeOutput(String) - Method in class makwa.Makwa
Decode a string-encoded Makwa output into its constituent elements (salt, pre-hashing flag, post-hashing length, work factor, and binary output).
decodePublic(byte[]) - Static method in class makwa.MakwaPrivateKey
Decode a modulus from its encoded representation.
DelegGen - Class in makwa.tools
This command-line tools generates sets of parameters for Makwa delegation.
DelegGen() - Constructor for class makwa.tools.DelegGen
 
doFinal(byte[]) - Method in class makwa.Makwa.DelegationContext
Using the value returned by the delegation server, finalize the Makwa computation.
doFinalToString(byte[]) - Method in class makwa.Makwa.DelegationContext
Using the value returned by the delegation server, finalize the Makwa computation.
doFinalVerify(byte[]) - Method in class makwa.Makwa.DelegationContext
Using the value returned by the delegation server, finalize the Makwa computation for a password verification.
doHash(byte[], byte[], boolean, int, int) - Method in class makwa.Makwa
Apply Makwa on the provided parameters: input (already encoded as bytes), salt, optional pre-hashing, post-hashing length, and work factor.
doHashDelegate(byte[], byte[], boolean, int, MakwaDelegation) - Method in class makwa.Makwa
Begin delegated application of Makwa on some input value.
doHashToString(byte[], byte[], boolean, int, int) - Method in class makwa.Makwa
Apply Makwa on the provided parameters: input (already encoded as bytes), salt, optional pre-hashing, post-hashing length, and work factor.
doKDF(int, byte[], byte[]) - Static method in class makwa.Makwa
Compute the Makwa KDF over the provided input.
doKDF(int, byte[], byte[], int, int) - Static method in class makwa.Makwa
Compute the Makwa KDF over the provided input.
doKDF(int, byte[], int, int, byte[]) - Static method in class makwa.Makwa
Compute the Makwa KDF over the provided input.
doKDF(int, byte[], int, int, byte[], int, int) - Static method in class makwa.Makwa
Compute the Makwa KDF over the provided input.

E

encodeOutput(byte[], boolean, int, int, byte[]) - Method in class makwa.Makwa
Encode a Makwa output (already computed) into a string.
encodePublic(BigInteger) - Static method in class makwa.MakwaPrivateKey
Encode a modulus into bytes.
encodePublic(BigInteger, BigInteger) - Static method in class makwa.MakwaPrivateKey
Encode a modulus and, optionally, a generator, into bytes.
export() - Method in class makwa.MakwaDelegation
Encode this set of parameters.
exportPrivate() - Method in class makwa.MakwaPrivateKey
Encode the private key into bytes.
exportPublic() - Method in class makwa.MakwaPrivateKey
Encode the public key (modulus and optional generator) into bytes.

G

generate(byte[], int) - Static method in class makwa.MakwaDelegation
Generate a new set of delegation parameters.
generate(byte[], int, int) - Static method in class makwa.MakwaDelegation
Generate a new set of delegation parameters.
generate(int) - Static method in class makwa.MakwaPrivateKey
Generate a new private key.
GENERATOR_EXPAND - Static variable in class makwa.MakwaDelegation
Symbolic identifier for delegation parameters computed from a generator of invertible quadratic residues.
GENERATOR_ONLY - Static variable in class makwa.MakwaDelegation
Symbolic identifier for delegation parameters computed from a generator of invertible quadratic residues.
getModulus() - Method in class makwa.MakwaDelegation
Get the modulus used by this set of delegation parameters.
getModulus() - Method in class makwa.MakwaPrivateKey
Get the modulus (public key).
getPostHashLength() - Method in class makwa.Makwa.Output
Get the post-hashing length; 0 is returned if no post-hashing was applied.
getPreHash() - Method in class makwa.Makwa.Output
Get the pre-hashing flag.
getQRGen() - Method in class makwa.MakwaPrivateKey
Get the invertible quadratic residue generator, if defined in this key.
getRequest() - Method in class makwa.Makwa.DelegationContext
Serialize this context into a request to send to the delegation server.
getSalt() - Method in class makwa.Makwa.Output
Get the salt value.
getTau() - Method in class makwa.Makwa.Output
Get the binary output.
getTauInt() - Method in class makwa.Makwa.Output
Get the primary output as a big integer.
getWorkFactor() - Method in class makwa.Makwa.Output
Get the work factor.
getWorkFactor() - Method in class makwa.MakwaDelegation
Get the work factor for which this set of parameters was created.

H

hashNewPassword(String) - Method in class makwa.Makwa
Hash a new password.
hashNewPasswordDelegate(String, MakwaDelegation) - Method in class makwa.Makwa
Begin delegated application of Makwa on some input password.

K

KeyGen - Class in makwa.tools
This command-line tools generates key pairs for Makwa.
KeyGen() - Constructor for class makwa.tools.KeyGen
 

M

main(String[]) - Static method in class makwa.tools.DelegGen
 
main(String[]) - Static method in class makwa.tools.KeyGen
 
main(String[]) - Static method in class makwa.tools.MakeKAT
 
main(String[]) - Static method in class makwa.tools.SelfTest
 
MakeKAT - Class in makwa.tools
This command-line tool generates Known Answer Test values for Makwa.
MakeKAT() - Constructor for class makwa.tools.MakeKAT
 
makwa - package makwa
 
Makwa - Class in makwa
A Makwa instance implements the Makwa password hashing function.
Makwa(BigInteger, int, boolean, int, int) - Constructor for class makwa.Makwa
Create a new instance, using the provided modulus, underlying hash function (a symbolic constant, e.g.
Makwa(MakwaPrivateKey, int, boolean, int, int) - Constructor for class makwa.Makwa
Create a new instance, using the provided private key, underlying hash function (a symbolic constant, e.g.
Makwa(byte[], int, boolean, int, int) - Constructor for class makwa.Makwa
Create a new instance, using the provided parameter, underlying hash function (a symbolic constant, e.g.
Makwa.DelegationContext - Class in makwa
An instance of this class represents a delegated Makwa computation.
Makwa.Output - Class in makwa
A Makwa.Output instance represents a Makwa output, with its parameters.
makwa.tools - package makwa.tools
 
MakwaDelegation - Class in makwa
A MakwaDelegation instance contains the parameters needed to perform work delegation to an external system (the "delegation server").
MakwaDelegation(byte[]) - Constructor for class makwa.MakwaDelegation
Create an instance by decoding a set of delegation parameters.
MakwaException - Exception in makwa
A MakwaException is thrown for any error during Makwa processing.
MakwaException() - Constructor for exception makwa.MakwaException
Create an instance.
MakwaException(String) - Constructor for exception makwa.MakwaException
Create an instance with an explicit message.
MakwaException(Exception) - Constructor for exception makwa.MakwaException
Create an instance with a cause (nexted exception).
MakwaException(String, Exception) - Constructor for exception makwa.MakwaException
Create an instance with an explicit message and a cause (nexted exception).
MakwaPrivateKey - Class in makwa
A MakwaPrivateKey instance encapsulates a Makwa private key, i.e.
MakwaPrivateKey(byte[]) - Constructor for class makwa.MakwaPrivateKey
Create a new instance by decoding a private key.
MakwaPrivateKey(BigInteger, BigInteger) - Constructor for class makwa.MakwaPrivateKey
Create a new instance with two specific primes.
MakwaPrivateKey(BigInteger, BigInteger, BigInteger) - Constructor for class makwa.MakwaPrivateKey
Create a new instance with two specific primes and a quadratic residue generator.

P

processDelegationRequest(byte[]) - Static method in class makwa.Makwa
Parse a delegation request, and compute the answer.

R

RANDOM_PAIRS - Static variable in class makwa.MakwaDelegation
Symbolic identifier for "classic" delegation parameters (300 random mask pairs).

S

SelfTest - Class in makwa.tools
This command-line tool runs self-tests.
SelfTest() - Constructor for class makwa.tools.SelfTest
 
setNewWorkFactor(String, int) - Method in class makwa.Makwa
Set the work factor for a given Makwa output string to a new value.
SHA256 - Static variable in class makwa.Makwa
Symbolic constant designating hash function SHA-256.
SHA512 - Static variable in class makwa.Makwa
Symbolic constant designating hash function SHA-512.

T

toString() - Method in class makwa.Makwa.Output
Re-encode this Makwa output as a string using the specified format.

U

unescrow(String) - Method in class makwa.Makwa
Recover the input (encoded password) from the provided Makwa output string.
unescrow(byte[], byte[], int) - Method in class makwa.Makwa
Recover the input (encoded password) from the provided Makwa output (binary).

V

verifyPassword(String, String) - Method in class makwa.Makwa
Verify a password against a string previously produced with hashNewPassword.
verifyPasswordDelegate(String, String, MakwaDelegation...) - Method in class makwa.Makwa
Begin delegated application of Makwa on some input password.
C D E G H K M P R S T U V