Class EncryptionUtils


  • public class EncryptionUtils
    extends Object
    INTERNAL: Utilities for encrypting files. Replaces the old EncryptionWriter.
    Since:
    1.3.3
    • Constructor Detail

      • EncryptionUtils

        public EncryptionUtils()
    • Method Detail

      • encrypt

        public static void encrypt​(File file)
                            throws IOException
        INTERNAL: Reads the file into memory, encrypting it in the process, then writes the encrypted data back out to the file.
        Throws:
        IOException
      • encrypt

        public static void encrypt​(File infile,
                                   File outfile)
                            throws IOException
        INTERNAL: Reads in the infile and writes the encrypted result into the outfile.
        Throws:
        IOException