Encrypted File Storage

The EPSSecureFile class can be used to store data in an encrypted file. The read/write interface presented by EPSSecureFile is based on streams, to avoid restricting it to any specific data type. Any data that can be expressed as a stream can be encrypted and serialized in this way. One way of doing this is to define a new serializable entity class to hold all the relevant sensitive data and interface with EPSSecureFile using ObjectInputStream and ObjectOutputStream.

Examples of each of these are included in the EPSSimulator core class.