Re: Encryption question
- From: scorca2@xxxxxxxxxxxxx
- Date: Sun, 16 Jul 2006 04:21:16 GMT
Why not just hardcode the key in the program? Is this safe or can any
program be de-compiled?
The main problem I have had with the Cipher API is that when I save
encrypted data in a file I can not longer query that file or use
UPDDTA.
On 2 Jun 2004 09:53:43 -0700, bonzai@xxxxxxxxx (Chicago Mike) wrote:
I want to protect some sensative information in a file. What I was
thinking of doing was encrypting the data in the field in question.
I've looked at the Cipher API, but I think I'm going to have a problem
with it. If I understand it correctly the API takes:
Text to be encrypted
Key
Encryption method
and returns:
encrypted data
And then basically the same thing to reverse the process. Now this
means I'll need to store a key somewhere (if I want to be able to
retrieve the data) which kind of defeats the purpose. Has anyone here
ever tried anything like this?
I was thinking about maybe storing the key in a PF that nobody has the
rights to but 1 program that would do the encrypting/decrypting.
However this seems kludgy.
Also, if anyone has ever written a procedure that uses this API in
RPG(ILE), I'd appreciate if you could post it.
.
- Prev by Date: Re: Adding DASD and Raid to Model 270
- Next by Date: Re: Devices gets disconnected
- Previous by thread: Re: Encryption question
- Next by thread: Shuffling Counters to the Right (Efficiently)
- Index(es):
Relevant Pages
|