IQryptParseFile is derived from ParseFile and it automatically encrypt the file with RND encryption scheme.

Creating a file

byte[] data = System.Text.Encoding.UTF8.GetBytes("My data is my data, nobody should be able to exploit it!");
IQryptParseFile file = new IQryptParseFile("myfile.txt", data);
await file.SaveAsync();

Assign the file to an IQryptParseObject

var obj= new IQryptParseObject("MyClass");
obj["myFile"] = file;
await obj.SaveAsync();

*Notice that you don't have to set that the field "myFile" should be encrypted via IQryptConfigurator.EncryptField(...) method, because the file was already IQryptParseFile instance.

Read the content back

ParseQuery<IQryptParseObject> query = new ParseQuery<IQryptParseObject >("Armor");
IQryptParseObject objFromServer = await query.GetAsync(obj.ObjectId);
byte[] fileContent = await objFromServer.GetParseFileContent("myFile");