× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Where is this documentation?  I've been searching the info center and am
getting no hits with RPG and CIPHER.  I do get a lot of SSL and LDAP
references.

Phil

> -----Original Message-----
> From: mi400-admin@midrange.com [mailto:mi400-admin@midrange.com]On
> Behalf Of thomas@inorbit.com
> Sent: Friday, March 15, 2002 7:18 PM
> To: mi400@midrange.com
> Subject: RE: [MI400] MI a good use for encryption?
>
>
> Dan:
>
> On Thu, 14 March 2002, "Dan Bale" wrote:
>
> > No kidding!  Might be just the thing to get our sluggish V3R7
> clients to get
> > current.  Is CIPHER an RPG opcode?  A built-in?  API?
>
> Here're the bare basics for ILE RPG and CIPHER:
>
>  D PlainText       S               *
>  D CipherText      S               *
>  D Controls        DS            32
>  D   Function                     5I 0
>  D*  Length                       5I 0 inz(%size(Input))
>  D   Length                       5I 0 inz( 64 )
>  D   CBC_Mode                     1A   inz(X'40')
>  D   SecretKey                    1A   dim(8)
>  D   Reserved_1                   1A   inz(*loval)
>  D   InitChain                    8A   inz(X'5555555555555555')
>  D   Reserved_2                  10A   inz(*loval)
>
>  C                   eval      PlainText  = %addr( Input )
>  C                   eval      CipherText = %addr( Output )
>
>  C                   callb     '_CIPHER'
>  C                   parm                    CipherText
>  C                   parm                    Controls
>  C                   parm                    PlainText
>
> For details, check the CIPHER documentation. Modify as needed,
> etc. For basic stuff, that's about all there is to it.
>
> Tom Liotta
>
>
>
>
>
> --
> Tom Liotta
> The PowerTech Group, Inc.
> 19426 68th Avenue South
> Kent, WA 98032
> Phone  253-872-7788
> Fax  253-872-7904
> http://www.400Security.com
>
>
> ___________________________________________________
> The ALL NEW CS2000 from CompuServe
>  Better!  Faster! More Powerful!
>  250 FREE hours! Sign-on Now!
>  http://www.compuserve.com/trycsrv/cs2000/webmail/
>
>
>
>
> _______________________________________________
> This is the MI Programming on the AS400 / iSeries (MI400) mailing list
> To post a message email: MI400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/mi400
> or email: MI400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/mi400.
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.