Class GordianRandomSpecBuilder
java.lang.Object
io.github.tonywasher.joceanus.gordianknot.api.random.GordianRandomSpecBuilder
SecureRandom Specification Builder.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GordianRandomSpecctr(GordianSymKeySpec pSymKeySpec) Create ctrSpec.static GordianRandomSpecctrResist(GordianSymKeySpec pSymKeySpec) Create prediction resistant ctrSpec.static GordianRandomSpechash(GordianDigestSpec pDigest) Create hashSpec.static GordianRandomSpechashResist(GordianDigestSpec pDigest) Create prediction resistant hashSpec.static GordianRandomSpechMac(GordianDigestSpec pDigest) Create hMacSpec.static GordianRandomSpechMacResist(GordianDigestSpec pDigest) Create prediction resistant hMacSpec.static GordianRandomSpecx931(GordianSymKeySpec pSymKeySpec) Create x931Spec.static GordianRandomSpecx931Resist(GordianSymKeySpec pSymKeySpec) Create prediction resistant x931Spec.
-
Method Details
-
hash
Create hashSpec.- Parameters:
pDigest- the digestSpec- Returns:
- the RandomSpec
-
hashResist
Create prediction resistant hashSpec.- Parameters:
pDigest- the digestSpec- Returns:
- the RandomSpec
-
hMac
Create hMacSpec.- Parameters:
pDigest- the digestSpec- Returns:
- the RandomSpec
-
hMacResist
Create prediction resistant hMacSpec.- Parameters:
pDigest- the digestSpec- Returns:
- the RandomSpec
-
ctr
Create ctrSpec.- Parameters:
pSymKeySpec- the symKeySpec- Returns:
- the RandomSpec
-
ctrResist
Create prediction resistant ctrSpec.- Parameters:
pSymKeySpec- the symKeySpec- Returns:
- the RandomSpec
-
x931
Create x931Spec.- Parameters:
pSymKeySpec- the symKeySpec- Returns:
- the RandomSpec
-
x931Resist
Create prediction resistant x931Spec.- Parameters:
pSymKeySpec- the symKeySpec- Returns:
- the RandomSpec
-