forked from Qortal/qortal
Renamed encrypted and zipped files.
This commit is contained in:
parent
efaf313422
commit
a7282a5794
@ -135,7 +135,7 @@ public class ArbitraryDataWriter {
|
|||||||
private void compress() {
|
private void compress() {
|
||||||
// Compress the data if requested
|
// Compress the data if requested
|
||||||
if (this.compression != Compression.NONE) {
|
if (this.compression != Compression.NONE) {
|
||||||
this.compressedPath = Paths.get(this.workingPath.toString() + File.separator + "zipped.zip");
|
this.compressedPath = Paths.get(this.workingPath.toString() + File.separator + "data.zip");
|
||||||
try {
|
try {
|
||||||
|
|
||||||
if (this.compression == Compression.ZIP) {
|
if (this.compression == Compression.ZIP) {
|
||||||
@ -157,7 +157,7 @@ public class ArbitraryDataWriter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void encrypt() {
|
private void encrypt() {
|
||||||
this.encryptedPath = Paths.get(this.workingPath.toString() + File.separator + "zipped_encrypted.zip");
|
this.encryptedPath = Paths.get(this.workingPath.toString() + File.separator + "data.zip.encrypted");
|
||||||
try {
|
try {
|
||||||
// Encrypt the file with AES
|
// Encrypt the file with AES
|
||||||
this.aesKey = AES.generateKey(256);
|
this.aesKey = AES.generateKey(256);
|
||||||
|
Loading…
Reference in New Issue
Block a user