I have text that is in a file. I want to encrypt this file so that the end user cannot read or write to this file, but the application can read it. A secret may be kept in the application, as it is protected differently.
What type of encryption supports these requirements?
I was thinking about AES. I am not very good at encryption and have been looking for a starting point. An algorithm or frame proposal would be great.
Last note: the code is in Java, running on Windows and Linux.
java encryption
user489041
source share