Static methods for encryption/decryption and read/write objects from
internal memory.