- 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.
- 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.
- 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.