Refactoring EncryptionJob before extraction of DecryptionJob.