Command Line Utility for File Encryption (2024)

This is a standalone utility which is used to encrypt and decrypt data files. This utility supports generation of symmetric encryption key in AES 256 bit format.

This utility does not have dependency on OFSAA or DMT module. However, running this utility requires log4j-core*.jar and log4j-api*.jar files.

Use Cases:

·If the user has opted for File Encryption from the DMT Configurations window:

§In case of T2F or H2F, the output file will be an encrypted file. To decrypt the data file, user needs to use this utility.

§In case of F2Tor F2H, the input file should be an encrypted file. To encrypt the data file, user needs to use this utility.

Prerequisites

·Ensure the following files are present in $FIC_HOME/utility/DMT/encryption/bin folder.

§dmtfileencryption.sh

§aai-dmt-encryption.jar

§log4j-core*.jar

§log4j-api*.jar

·Since the utility uses AES 256 bit encryption, it is mandatory to apply policy files. Perform the following instructions to apply policy files:

a.Download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files from Oracle. Be sure to download the correct policy file updates for your version of Java (Java 7 or 8).

b.Uncompress and extract the downloaded file. The download includes a Readme.txt and two .jar files with the same names as the existing policy files.

c.Locate the two existing policy files inside the folder <java-jre-home>/lib/security/.

1local_policy.jar

2US_export_policy.jar

d.Replace the existing policy files with the unlimited strength policy files you extracted.

To run the utility directly from the console:

1.Navigate to $FIC_HOME/utility/DMT/encryption/bin folder.

2.Execute ./dmtfileencryption.sh with the following arguments:

Argument Name

Description

Value

MODE

Specify the mode of operation

·genkey

·encrypt_file

·decrypt_file

For more information, see Modes of Operation section.

KEYFILE

Absolute path of key file with key file name.

INPUTFILE

Absolute path of input file with input file name.

OUTPUTFILE

Absolute path of output file with output file name.

Modes of Operation

Based on the value specified for the argument MODE, the utility can be operated in different modes:

MODE set as genkey

./dmtfileencryption.sh genkey <KEYFILE>

In this mode, utility takes the absolute path to which key has to be written as input. Creates a 256 bit AES key and writes to the location given in <KEYFILE> attribute.

MODE set as encrypt_file

./dmtfileencryption.sh encrypt_file <INPUTFILE> <OUTPUTFILE> <KEYFILE>

In this mode, utility takes input file path, output file path and key file path as inputs. Using the 256 bit AES key in the given key path, input file is encrypted and written into given output file path.

MODE set as decrypt_file

./dmtfileencryption.sh decrypt_file <INPUTFILE> <OUTPUTFILE> <KEYFILE>

In this mode, utility takes input file path, output file path and key file path as inputs. Using the 256 bit AES key in the given key path, input file is decrypted and written into given output file path.

NOTE

Input and output file absolute paths should be different.

Logs

The DMTFileEncryption.log file will be created in $FIC_HOME/utility/DMT/encryption/log folder.

Command Line Utility for File Encryption (2024)
Top Articles
Bullying
List of coins supported by SafePal S1
Fiskars X27 Kloofbijl - 92 cm | bol
Jail Inquiry | Polk County Sheriff's Office
Best Team In 2K23 Myteam
Manhattan Prep Lsat Forum
Algebra Calculator Mathway
What Are the Best Cal State Schools? | BestColleges
T Mobile Rival Crossword Clue
The Realcaca Girl Leaked
Sprague Brook Park Camping Reservations
Tyrunt
Music Archives | Hotel Grand Bach - Hotel GrandBach
biBERK Business Insurance Provides Essential Insights on Liquor Store Risk Management and Insurance Considerations
Items/Tm/Hm cheats for Pokemon FireRed on GBA
Indiana Immediate Care.webpay.md
Jack Daniels Pop Tarts
Classroom 6x: A Game Changer In The Educational Landscape
ocala cars & trucks - by owner - craigslist
Conan Exiles Thrall Master Build: Best Attributes, Armor, Skills, More
Mzinchaleft
All Obituaries | Buie's Funeral Home | Raeford NC funeral home and cremation
Glenda Mitchell Law Firm: Law Firm Profile
Scout Shop Massapequa
Sea To Dallas Google Flights
Anotherdeadfairy
F45 Training O'fallon Il Photos
Sofia the baddie dog
Page 2383 – Christianity Today
Wood Chipper Rental Menards
Radical Red Ability Pill
Hwy 57 Nursery Michie Tn
Rek Funerals
Little Einsteins Transcript
Greyson Alexander Thorn
Nurofen 400mg Tabletten (24 stuks) | De Online Drogist
Mosley Lane Candles
Account Now Login In
Bozjan Platinum Coins
Whas Golf Card
Supermarkt Amsterdam - Openingstijden, Folder met alle Aanbiedingen
How to Draw a Sailboat: 7 Steps (with Pictures) - wikiHow
Keir Starmer looks to Italy on how to stop migrant boats
Clausen's Car Wash
US-amerikanisches Fernsehen 2023 in Deutschland schauen
Is Ameriprise A Pyramid Scheme
Ghareeb Nawaz Texas Menu
Yale College Confidential 2027
Tacos Diego Hugoton Ks
Where and How to Watch Sound of Freedom | Angel Studios
Latest Posts
Article information

Author: Saturnina Altenwerth DVM

Last Updated:

Views: 6755

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Saturnina Altenwerth DVM

Birthday: 1992-08-21

Address: Apt. 237 662 Haag Mills, East Verenaport, MO 57071-5493

Phone: +331850833384

Job: District Real-Estate Architect

Hobby: Skateboarding, Taxidermy, Air sports, Painting, Knife making, Letterboxing, Inline skating

Introduction: My name is Saturnina Altenwerth DVM, I am a witty, perfect, combative, beautiful, determined, fancy, determined person who loves writing and wants to share my knowledge and understanding with you.