×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
CIHPER is an MI function, so you can either look in the ILE/C C++ MI Library
Reference Manual (can't remember the docnum - sorry) or the MI Functional
Reference Manual.

--phil

-----Original Message-----
From: Phil [mailto:sublime78ska@yahoo.com]
Sent: Fri 3/15/2002 6:39 PM
To: mi400@midrange.com
Cc:
Subject: RE: [MI400] MI a good use for encryption?



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
<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 <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/
<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
<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 <http://archive.midrange.com/mi400> .

>


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

_______________________________________________
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
<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 <http://archive.midrange.com/mi400> .

--
[ Content of type application/ms-tnef deleted ]


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2026 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.