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
ChaosDecrypterwill use byte arrays as input and output types.AChaosDecryptionInputStreamwraps anInputStreamand consumes input bytes by applying aChaosDecrypteron each byte read from the providedInputStreambefore passing back the processed byte to the caller.TheChaosEncrypterwill use byte arrays as input and output types.AChaosEncryptionOutputStreamwraps anOutputStreamand produces output bytes by applying aChaosEncrypteron each byte to be written before delegating the processed vale to the givenOutputStream.The key holding the parameters for the chaos function.TheChaosOptionsinterface provides configuration means for the Chaos-based encryption and may be provided to the constructor of theChaosKeye.g. as one of theChaosModeenumerations.TheChaosOptionsImplprovides means to create aChaosOptionsinstance.Builder to buildChaosOptionsinstances.TheChaosTextDecrypterwill useStringas input and output type.TheChaosTextEncrypterwill useStringas input and output type.