Class ChaosTextDecrypter

  • All Implemented Interfaces:
    org.refcodes.mixin.Disposable, org.refcodes.security.Decrypter<String,​String,​org.refcodes.security.DecryptionException>

    public class ChaosTextDecrypter
    extends Object
    implements org.refcodes.security.Decrypter<String,​String,​org.refcodes.security.DecryptionException>
    The ChaosTextDecrypter will use String as input and output type.
    • Method Detail

      • toDecrypted

        public String toDecrypted​(String aEncrypted)
                           throws org.refcodes.security.DecryptionException
        Specified by:
        toDecrypted in interface org.refcodes.security.Decrypter<String,​String,​org.refcodes.security.DecryptionException>
        Throws:
        org.refcodes.security.DecryptionException
      • toDecrypted

        public int toDecrypted​(byte[] aInput,
                               int aInputOffset,
                               int aInputLength,
                               byte[] aOutput,
                               int aOutputOffset)
                        throws org.refcodes.security.DecryptionException
        Specified by:
        toDecrypted in interface org.refcodes.security.Decrypter<String,​String,​org.refcodes.security.DecryptionException>
        Throws:
        org.refcodes.security.DecryptionException
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.refcodes.mixin.Disposable