ALGORITHM = "des-ede3-cbc" ;* 168-BIT KEY DES ALGORITHM ACTION = "2" ;* 2=ENCRYPT DTA = "WHOMPUM" ;* DATA OR NAME OF FILE CONTAINING DATA DATALOC = "1" ;* 1=DATA IS STRING 2=DATA IN FILE KEY = "PASSWORD" ;* ACTUAL KEY OR FILE NAME CONTAINING THE KEY KEYLOC = "1" ;* 1=KEY IN DATA 2=KEY IN FILE KEYACTION = "2" ;* 2=DERIEVE KEY FROM PASS PHRASE 1=USE ACTUAL KEY-168 BITS SALT = "" ;* STRING CONTAINING THE SALT VALUE? IV = "" ;* STRING CONTAINING IV? RESULT = "" ;* RESULT BUFFER OR UNIX FILE NAME RESULTLOC = "1" ;* 1=RESULT BUFFER 2=UNIX FILE STORING RESULT B=ENCRYPT(ALGORITHM,ACTION,DTA,DATALOC,KEY,KEYLOC,KEYACTION,SALT,IV,RESULT,RESULTLOC) CRT "ENCRYPT ":DTA CRT "B = ":B CRT "RESULT = '":RESULT:"'" CRT "LENGTH = ":LEN(RESULT)
On 5/5/05, D Averch <[EMAIL PROTECTED]> wrote: > I've read all of the documentation: > > ENCRYPT(algorithm, action, data, dataLoc,key, keyLoc, keyAction, > salt, IV, result, resultLoc) > > I have tried many different variables and values and cannot get it to return > only a 4 (The key cannot be derived). What values should I be putting into > the function to get a string encrypted? > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/