Consultor Eletrônico



Kbase P169797: How to ENCRYPT and DECRYPT data in version 9 and earlier
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/07/2010
Status: Unverified

GOAL:

How to ENCRYPT and DECRYPT data in version 9 and earlier

GOAL:

How to simulate the functionality of the ENCRYPT and DECRYPT functions in earlier releases

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge Category: Security

FIX:

Check the man pages on your local operating system for the openssl executable. Simple examples of encrypting the content of a file, then decrypting the encrypted file are below:

To Encrypt:
openssl enc -e -in test.txt -aes-128-cbc -out test.enc

To Decrypt:
openssl enc -d -in test.enc -aes-128-cbc -out test.dec