According to “The pre-encryption data structure“, it is possible to visually understand which bytes (chars) the encrypted files contain.
not encrypted data
2024.04.04 09:54:16.407 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.04 09:54:16.407 RUNNING setKeyFilename() ::
2024.04.04 09:54:16.408 SETTING the key
2024.04.04 09:54:16.408 C:\Users\guest\ema\key\1712217256438923700_hu4W0SbDmLOukyEsh4z34zT6jAxrDz6F.key 4.194.304-byte
2024.04.04 09:54:16.409 sub-key_1: from index '0' to index '2.097.151'
2024.04.04 09:54:16.409 sub-key_2: from index '2.097.152' to index '4.194.304'
2024.04.04 09:54:16.442
2024.04.04 09:54:16.442 This key adds 693 random bytes to the top of pre-encryption data if origin data is a file
2024.04.04 09:54:16.443 and 21 random bytes to the top of pre-encryption data if origin data is a byte array
2024.04.04 09:54:16.443
2024.04.04 09:54:16.443 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.04 09:54:16.443 RUNNING disableEncryptionExecution() ::
2024.04.04 09:54:16.444 DISABLING encryption execution in the core
2024.04.04 09:54:16.444
2024.04.04 09:54:16.444 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.04 09:54:16.444 RUNNING fileEncryption() ::
2024.04.04 09:54:16.447 FILE TO ENCRYPT
2024.04.04 09:54:16.448 C:\Users\guest\ema\src\HelloWorld.txt 11-byte
2024.04.04 09:54:16.448 ..................................................................................................
2024.04.04 09:54:16.448 ENCRYPTION KEY
2024.04.04 09:54:16.449 C:\Users\guest\ema\key\1712217256438923700_hu4W0SbDmLOukyEsh4z34zT6jAxrDz6F.key 4.194.304-byte
2024.04.04 09:54:16.449 sub-key_1: from index '0' to index '2.097.151'
2024.04.04 09:54:16.449 sub-key_2: from index '2.097.152' to index '4.194.304'
2024.04.04 09:54:16.449
2024.04.04 09:54:16.450 This key adds 693 random bytes to the top of pre-encryption data if origin data is a file
2024.04.04 09:54:16.450 and 21 random bytes to the top of pre-encryption data if origin data is a byte array
2024.04.04 09:54:16.450 ..................................................................................................
2024.04.04 09:54:16.455 ENCRYPTION SETTINGS
2024.04.04 09:54:16.456 Encryption execution core: DISABLED
2024.04.04 09:54:16.456 Checksum calculation: ENABLED with MD5 algorithm
2024.04.04 09:54:16.456 Encryption details: ENABLED
2024.04.04 09:54:16.457 Use a random name to save the encrypted file: ENABLED
2024.04.04 09:54:16.457 ..................................................................................................
2024.04.04 09:54:16.458 STARTING THE CORE EXECUTION IN BLANK MODE
2024.04.04 09:54:16.459 Reading the prepared byte block 0000000001 00000658µs 2.048-byte
2024.04.04 09:54:16.459 Calculating MD5 checksum 00000181µs
2024.04.04 09:54:16.460 Writing the byte block 0000000001 00000092µs 2.048-byte
2024.04.04 09:54:16.460 FINISHED THE CORE EXECUTION IN BLANK MODE
2024.04.04 09:54:16.461 ..................................................................................................
2024.04.04 09:54:16.461 OVERALL TIMES
2024.04.04 09:54:16.461 Time to read 0000000001 byte blocks 00000000ms
2024.04.04 09:54:16.462 Time to calculate the MD5 checksum 00000000ms
2024.04.04 09:54:16.462 Time to write 0000000001 byte blocks 00000000ms
2024.04.04 09:54:16.462 Total time 00000000ms
2024.04.04 09:54:16.463 ..................................................................................................
2024.04.04 09:54:16.463 SAVING THE NOT ENCRYPTED FILE
2024.04.04 09:54:16.463 C:\Users\guest\ema\msk\1712217256497927000_wRPnoQfu3vOiHKFnXyY1KffOhtuG7aFw.msk 2.048-byte
2024.04.04 09:54:16.464 ..................................................................................................
2024.04.04 09:54:16.464 The checksum MD5 was calculated
2024.04.04 09:54:16.464 Encryption was not performed because was disabled by settings
2024.04.04 09:54:16.464
2024.04.04 09:54:16.464 FINISHED fileEncryption() ::
Below is the not encrypted file “1712217256497927000_wRPnoQfu3vOiHKFnXyY1KffOhtuG7aFw.msk”. You can see that is exactly the same format of “The pre-encryption data structure -> Single byte block of chars (first and last) with 21 fields“.
Screenshot of not encrypted file (ANSI encoding):
C:\Users\guest\ema\msk\1712217256497927000_wRPnoQfu3vOiHKFnXyY1KffOhtuG7aFw.msk
Note
The result was achieved by executing the directive ‘disableEncryptionExecution()’. The same outcome can be achieved by using the default encryption execution and two sub-keys with the value ‘0’ only.
encrypted data
2024.04.04 09:56:28.633 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.04 09:56:28.633 RUNNING fileEncryption() ::
2024.04.04 09:56:28.634 FILE TO ENCRYPT
2024.04.04 09:56:28.634 C:\Users\guest\ema\src\HelloWorld.txt 11-byte
2024.04.04 09:56:28.634 ..................................................................................................
2024.04.04 09:56:28.634 ENCRYPTION KEY
2024.04.04 09:56:28.636 C:\Users\guest\ema\key\1712217388579281200_boInHogNH7UUEISU3qlW7WMZVu273qgD.key 4.194.304-byte
2024.04.04 09:56:28.636 sub-key_1: from index '0' to index '2.097.151'
2024.04.04 09:56:28.636 sub-key_2: from index '2.097.152' to index '4.194.304'
2024.04.04 09:56:28.636
2024.04.04 09:56:28.637 This key adds 510 random bytes to the top of pre-encryption data if origin data is a file
2024.04.04 09:56:28.637 and 15 random bytes to the top of pre-encryption data if origin data is a byte array
2024.04.04 09:56:28.638 ..................................................................................................
2024.04.04 09:56:28.641 ENCRYPTION SETTINGS
2024.04.04 09:56:28.642 Encryption execution core: ENABLED
2024.04.04 09:56:28.642 Checksum calculation: ENABLED with MD5 algorithm
2024.04.04 09:56:28.642 Encryption details: ENABLED
2024.04.04 09:56:28.643 Use a random name to save the encrypted file: ENABLED
2024.04.04 09:56:28.643 ..................................................................................................
2024.04.04 09:56:28.643 STARTING THE CORE EXECUTION IN ENCRYPTION MODE
2024.04.04 09:56:28.645 Reading the prepared byte block 0000000001 00000558µs 2.048-byte
2024.04.04 09:56:28.645 Calculating MD5 checksum 00000284µs
2024.04.04 09:56:28.646 Encrypting the byte block 0000000001 00000121µs
2024.04.04 09:56:28.646 Writing the encrypted byte block 0000000001 00000111µs 2.048-byte
2024.04.04 09:56:28.647 FINISHED THE CORE EXECUTION IN ENCRYPTION MODE
2024.04.04 09:56:28.647 ..................................................................................................
2024.04.04 09:56:28.647 OVERALL TIMES
2024.04.04 09:56:28.648 Time to read 0000000001 byte blocks 00000000ms
2024.04.04 09:56:28.648 Time to calculate the MD5 checksum 00000000ms
2024.04.04 09:56:28.649 Time to complete the encryption 00000000ms
2024.04.04 09:56:28.649 Time to write 0000000001 byte blocks 00000000ms
2024.04.04 09:56:28.650 Total time 00000001ms
2024.04.04 09:56:28.650 ..................................................................................................
2024.04.04 09:56:28.650 SAVING THE ENCRYPTED FILE
2024.04.04 09:56:28.650 C:\Users\guest\ema\msk\1712217388673084700_ouPDJK5hRUXsaAwCcUa5j09qmTB87Fio.msk 2.048-byte
2024.04.04 09:56:28.651 ..................................................................................................
2024.04.04 09:56:28.651 The checksum MD5 was calculated
2024.04.04 09:56:28.651 Encryption performed successfully
2024.04.04 09:56:28.651
2024.04.04 09:56:28.651 FINISHED fileEncryption() ::
The following is the encrypted file “1712217388673084700_ouPDJK5hRUXsaAwCcUa5j09qmTB87Fio.msk”.
Screenshot of encrypted file (ANSI encoding):
C:\Users\guest\ema\msk\1712217388673084700_ouPDJK5hRUXsaAwCcUa5j09qmTB87Fio.msk
Note that all bytes in the encrypted file have been replaced and shuffled, making decryption impossible without the key.