Command-line operation

The Ema program can be used by command-line operation via shell/terminal.

  • Sequential use of inline commands
PS C:\Users\guest\ema> java -jar .\Ema.jar '--setKeyFilesDirectory "D:\Users\guest\ema\key"' '--setOriginFilesDirectory "D:\Users\guest\ema\src"' '--setEncryptedFilesDirectory "D:\Users\guest\ema\msk"' --listKeyFiles '--setKeyFilename 1710516919024413100_bKbbPcjYTnZPJpcHFGcSLuXoZf8rkXUf.key' '--fileEncryption Dracula.txt ""'

Copyright 2021-2024 EMA (Encryption by Masking))
Program: Ema.jar (static not instantiatable)Version 1.24.0410.0 (2024.04.10)
Developer: Stefano Fazzino - Udine (Italy)
***
For info and documentation visit https://www.creoart.com
***
1. EMA (Encryption by Masking) is free to use for personal non-profit purposes.
2. Public and private companies, universities, colleges, schools, research
institutes, hospitals, governmental and non-governmental agencies and the
military are only allowed to test and try it freely. For all other purposes
they have to ask for permission to use it.
3. You may not copy and/or include parts of this software in your own code
without the explicit permission of the developer.
4. Before running the program:
- check its checksum and if it does not match to the one signed, DO NOT RUN
- also check the program Ema.jar (static not instantiatable)
by sites like https://www.virustotal.com
5. For bugs, suggestions, vulnerabilities or anything else send an email:
i n f o @ c r e o a r t . c o m
6. The developer cannot be held responsible in any way for any damages,
malfunctions or any other consequence related to the use of this software.
7. If you do not agree, please do not use this software.
***
***
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This program 'Ema.jar' ver.Version 1.24.0410.0 - 2024.04.10, is running on Windows 11
Java vendor: Oracle Corporation
Java vendor URL: http://java.oracle.com/
Java version: 1.8.0_411
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.20 17:34:03.803 RUNNING setKeyFilesDirectory() ::
2024.04.20 17:34:03.808 SETTING 'D:\Users\guest\ema\key\' as input/output keys files directory
2024.04.20 17:34:03.808
2024.04.20 17:34:03.808 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.20 17:34:03.808 RUNNING setOriginFilesDirectory() ::
2024.04.20 17:34:03.809 SETTING 'D:\Users\guest\ema\src\' as origin files directory
2024.04.20 17:34:03.809
2024.04.20 17:34:03.809 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.20 17:34:03.809 RUNNING setEncryptedFilesDirectory() ::
2024.04.20 17:34:03.810 SETTING 'D:\Users\guest\ema\msk' as output encrypted files directory
2024.04.20 17:34:03.810
2024.04.20 17:34:03.810 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.20 17:34:03.810 RUNNING listKeyFiles() ::
2024.04.20 17:34:03.810 List of files in 'D:\Users\guest\ema\key\'
2024.04.20 17:34:03.811 ..................................................................................................
2024.04.20 17:34:03.811 1710516898075730400_6LP0XJx98tiWlndmSweclYmZK5PgTLAC.key 4.194.304-byte
2024.04.20 17:34:03.811 1710516919024413100_bKbbPcjYTnZPJpcHFGcSLuXoZf8rkXUf.key 4.194.304-byte
2024.04.20 17:34:03.811 1711817621789546600_HYGrIZOIk8RGmldnLH0LFftYVaH6dElH.key 4.194.304-byte
2024.04.20 17:34:03.811 1711817640152185600_GRKeofYecwAKFGBRJA6nqwQqbPlXYF4Z.key 4.194.304-byte
2024.04.20 17:34:03.812 1711817656326917400_Db838xkNyPWtKmJrGTitrBUdmCVnCZbC.key 4.194.304-byte
2024.04.20 17:34:03.812
2024.04.20 17:34:03.812 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.20 17:34:03.812 RUNNING setKeyFilename() ::
2024.04.20 17:34:03.812 SETTING the key
2024.04.20 17:34:03.812 D:\Users\guest\ema\key\1710516919024413100_bKbbPcjYTnZPJpcHFGcSLuXoZf8rkXUf.key 4.194.304-byte
2024.04.20 17:34:03.813 sub-key_1: from index '0' to index '2.097.151'
2024.04.20 17:34:03.813 sub-key_2: from index '2.097.152' to index '4.194.304'
2024.04.20 17:34:03.870
2024.04.20 17:34:03.870 This key adds 18150 random bytes to the top of pre-encryption data if origin data is a file
2024.04.20 17:34:03.870 and 567 random bytes to the top of pre-encryption data if origin data is a byte array
2024.04.20 17:34:03.871
2024.04.20 17:34:03.871 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2024.04.20 17:34:03.871 RUNNING fileEncryption() ::
2024.04.20 17:34:03.871 FILE TO ENCRYPT
2024.04.20 17:34:03.872 D:\Users\guest\ema\src\Dracula.txt 635-byte
2024.04.20 17:34:03.872 ..................................................................................................
2024.04.20 17:34:03.872 ENCRYPTION KEY
2024.04.20 17:34:03.873 D:\Users\guest\ema\key\1710516919024413100_bKbbPcjYTnZPJpcHFGcSLuXoZf8rkXUf.key 4.194.304-byte
2024.04.20 17:34:03.873 sub-key_1: from index '0' to index '2.097.151'
2024.04.20 17:34:03.873 sub-key_2: from index '2.097.152' to index '4.194.304'
2024.04.20 17:34:03.873
2024.04.20 17:34:03.874 This key adds 18150 random bytes to the top of pre-encryption data if origin data is a file
2024.04.20 17:34:03.874 and 567 random bytes to the top of pre-encryption data if origin data is a byte array
2024.04.20 17:34:03.874 ..................................................................................................
2024.04.20 17:34:03.908 ENCRYPTION SETTINGS
2024.04.20 17:34:03.908 Encryption execution core: ENABLED
2024.04.20 17:34:03.908 Checksum calculation: ENABLED with MD5 algorithm
2024.04.20 17:34:03.910 Encryption details: ENABLED
2024.04.20 17:34:03.910 Use a random name to save the encrypted file: ENABLED
2024.04.20 17:34:03.910 ..................................................................................................
2024.04.20 17:34:03.910 STARTING THE CORE EXECUTION IN ENCRYPTION MODE
2024.04.20 17:34:03.914 Reading the prepared byte block 0000000001 00000756µs 65.536-byte
2024.04.20 17:34:03.914 Calculating MD5 checksum 00000269µs
2024.04.20 17:34:03.917 Encrypting the byte block 0000000001 00002822µs
2024.04.20 17:34:03.918 Writing the encrypted byte block 0000000001 00000177µs 65.536-byte
2024.04.20 17:34:03.918 FINISHED THE CORE EXECUTION IN ENCRYPTION MODE
2024.04.20 17:34:03.918 ..................................................................................................
2024.04.20 17:34:03.918 OVERALL TIMES
2024.04.20 17:34:03.918 Time to read 0000000001 byte blocks 00000000ms
2024.04.20 17:34:03.919 Time to calculate the MD5 checksum 00000000ms
2024.04.20 17:34:03.919 Time to complete the encryption 00000002ms
2024.04.20 17:34:03.919 Time to write 0000000001 byte blocks 00000000ms
2024.04.20 17:34:03.919 Total time 00000004ms
2024.04.20 17:34:03.920 ..................................................................................................
2024.04.20 17:34:03.920 SAVING THE ENCRYPTED FILE
2024.04.20 17:34:03.920 D:\Users\guest\ema\msk1713634443969763400_006P1G0XbDztIfOxLCwdE6FaNbr1gOKa.msk 65.536-byte
2024.04.20 17:34:03.920 ..................................................................................................
2024.04.20 17:34:03.920 The checksum MD5 was calculated
2024.04.20 17:34:03.920 Encryption performed successfully
2024.04.20 17:34:03.922
2024.04.20 17:34:03.922 FINISHED fileEncryption() ::
2024.04.20 17:34:03.922
2024.04.20 17:34:03.922 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Reading configuration files and run

STILL TO BE FINISHED
Scroll to Top