Class ChaosDecrypter

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

    public class ChaosDecrypter
    extends Object
    implements org.refcodes.security.Decrypter<byte[],​byte[],​org.refcodes.security.DecryptionException>
    The ChaosDecrypter will use byte arrays as input and output types.
    • Method Detail

      • toDecrypted

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

        public int toDecrypted​(byte[] aBuffer,
                               int aOffset,
                               int aLength,
                               byte[] aOutBuffer,
                               int aOutOffset)
                        throws org.refcodes.security.DecryptionException
        Specified by:
        toDecrypted in interface org.refcodes.security.Decrypter<byte[],​byte[],​org.refcodes.security.DecryptionException>
        Throws:
        org.refcodes.security.DecryptionException
      • dispose

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