Package org.refcodes.security.alt.chaos
package org.refcodes.security.alt.chaos
This artifact adds chaos cryptography functionality to the refcodes-security
toolkit as of the
ChaosEncrypter
and
the ChaosDecrypter
types.
Please refer to the refcodes-security: Chaos-based encryption as JCE (and without) documentation for an up-to-date and detailed description on the usage of this artifact.
-
ClassDescriptionThe
ChaosDecrypter
will use byte arrays as input and output types.AChaosDecryptionInputStream
wraps anInputStream
and consumes input bytes by applying aChaosDecrypter
on each byte read from the providedInputStream
before passing back the processed byte to the caller.TheChaosEncrypter
will use byte arrays as input and output types.AChaosEncryptionOutputStream
wraps anOutputStream
and produces output bytes by applying aChaosEncrypter
on each byte to be written before delegating the processed vale to the givenOutputStream
.The key holding the parameters for the chaos function.TheChaosOptions
interface provides configuration means for the Chaos-based encryption and may be provided to the constructor of theChaosKey
e.g. as one of theChaosMode
enumerations.TheChaosOptionsBuilder
provides means to create aChaosOptions
instance.Builder to buildChaosOptionsBuilder
.TheChaosTextDecrypter
will useString
as input and output type.TheChaosTextEncrypter
will useString
as input and output type.