In order to encrypt the file run one of the below command:
java -cp file-encryptor-decryptor-2.17.1-3.jar com.swift.encoder.FileEncryptor <absolute path of config file to be encrypted> <absolute path to the secrets file> <absolute path of schema file> or java -cp file-encryptor-decryptor-2.17.1-3.jar com.swift.encoder.FileEncryptor <absolute path of config file to be encrypted> <absolute path to the secrets file> <absolute path of schema file> <encrypted file name> Password rules: 1. Password needs to be 16 charaters 2. Allowed list of charaters include alphanumeric, numbers, special characters 3. Spaces are not allowed.
In order to decrypt the file run the below command:
java -cp file-encryptor-decryptor-2.17.1-3.jar com.swift.encoder.FileDecryptor <absolute path of file to be decrypted> <absolute path of the secrets file> or java -cp file-encryptor-decryptor-2.17.1-3.jar com.swift.encoder.FileDecryptor <absolute path of file to be decrypted> <absolute path of the secrets file> <decrypted filename>