this might help you. PROGRAM TEST.PRG INCLUDE JBC.h
cipher = JBASE_CRYPT_BLOWFISH_BASE64 key = "" str = "MANAK123456" enc = ENCRYPT( str, key, cipher ) CRT "Encrypted: ":enc dec = DECRYPT( enc, key, cipher ) CRT "Decrypted: ":dec RETURN Cheers Ashok Pandey 14 EL Greco, St James Court Serpentine Avenue, Ballsbridge, Dublin 4, Ireland On Sun, Jan 18, 2009 at 10:56 PM, David Grenfell <[email protected]> wrote: > I don't know if you found your answer yet, but I still work with 3.4x and > have found that the build in encryption works just fine if you do this. > > to enter in the first place, let the user type in his password, encrypt and > save. > > Whenever the user must use the password, have them type it in, encrypt it > again and see if the encryption matches the saved one. If so, bob's your > uncle. do this way because there is no decryption routine. > > David Grenfell > >> Date: Sun, 18 Jan 2009 11:59:38 -0800 >> Subject: Re: Encryption routine >> From: [email protected] >> To: [email protected] >> >> >> There's a lot more here... >> >> http://www.iturls.com/english/NetSecurity/Encryption.asp >> >> Enjoy! >> >> On Jan 15, 10:57 pm, Pratosh <[email protected]> wrote: >> > Is there any inbuilt core routine in infobasic which can give me the >> > functionality of Encryption/Decryption? >> > >> > The requirement is - to encrypt the password stored for a user in a >> > local table; encrypting the password when it is entered in the field >> > and decrypting it when it is read by a routine. >> > >> > Thanks >> > Pratosh >> >> > > --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
