Package org.refcodes.security.ext.chaos
Class ChaosKeyGenerator
java.lang.Object
javax.crypto.KeyGeneratorSpi
org.refcodes.security.ext.chaos.ChaosKeyGenerator
Thanks Christian Pontesegger for the very good example on "Writing your own
JCA extensions - a full cipher" at:
"http://codeandme.blogspot.de/2013/07/writing-your-own-jca-extensions-full.html"
and for the very good example on "Writing your own JCA extensions - a simple
digest " at:
"http://codeandme.blogspot.de/2013/06/writing-your-own-jca-extensions-simple.html"
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
engineInit
(int aKeySize, SecureRandom aSecureRandom) void
engineInit
(SecureRandom aSecureRandom) void
-
Constructor Details
-
ChaosKeyGenerator
public ChaosKeyGenerator()
-
-
Method Details
-
engineInit
- Specified by:
engineInit
in classKeyGeneratorSpi
-
engineInit
public void engineInit(AlgorithmParameterSpec ap, SecureRandom sr) throws InvalidAlgorithmParameterException - Specified by:
engineInit
in classKeyGeneratorSpi
- Throws:
InvalidAlgorithmParameterException
-
engineGenerateKey
- Specified by:
engineGenerateKey
in classKeyGeneratorSpi
-
engineInit
- Specified by:
engineInit
in classKeyGeneratorSpi
-