Sytze de Boer wrote: > I've been meaning to check out this function for some time. > Thank you for bringing this up > > I create a small prg as follows > PARAMETERS onoff > SET LIBRARY TO VFPENCRYPTION.FLL ADDIT > USE mytable > IF !onoff > REPLACE ALL code WITH encrypt(ALLTRIM(code),"test!me",2) > ELSE > REPLACE ALL code WITH decrypt(ALLTRIM(code),"test!me",2) > ENDIF > > If I DO TEST2, it encryps the code > If I DO TEST2 WITH .T. it bombs out with API call caused an exception > > Clearly I'm missing something here. Hope someone can help
I get the same error!!!! And is has nothing to do with an index in my case, as there's no index on my cPassword field. And it's setup as char(32). Guess I'll have to email Craig Boyd directly. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

