Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 External Development Forums - SalesLogix COM
Forum to discuss using the SalesLogix COM interfaces from external applications, such as SlxApplication, ClientObjix, etc. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix COM | New ThreadView:  Search:  
 Author  Thread: Is BasicFunctions.WebEncrypt() time dependent?
Chris Graham
Posts: 2
 
Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 3:29 PM
I'm trying to write an application that will take the user's password, encrypt it, and compare it to the value in Contact.WEBPASSWORD. It seems that when I encrypt the same cleartext multiple times, I get different results. Is this expected?

We want to use the same WEBPASSWORD for multiple web applications. Does anyone have any suggestions?
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 4:30 PM
Hi Chris,

Unfortunately that is expected - in the newer implementation of the encryption algoryhtm, each time you run it it will give different results.

However, devrypting should always give you the same result so have you thought of doing it in that direction?



Stephen
[Reply][Quote]
Mike Boysen
Posts: 53
 
Re: Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 5:14 PM
Sage SDK support forget to mention that WebEncrypt generates different results over time. In fact, they stated that the login function takes the password input at login, encrypts it and compares to the stored encrypted value.

So, how do you decrypt it? and...
Is there a way to do this avoiding COM and a running client application?
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 5:35 PM
With COM but without a running application - SLXRWEL



Stephen
www.slxmaster.com
[Reply][Quote]
Mike Boysen
Posts: 53
 
Re: Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 5:39 PM
So you are saying that this will properly encrypt and decrypt the contact.webpassword used with the customer portal?

If so, I will be buying your new book on 7.5!
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 5:59 PM
Hi Mike,

The SLXRWEL object is covered in DevLogix III.7.

In DevLogix V I discuss the use of the newer encryption class in .NET that does the same job - you need to use it to encrypt a user's password for running Crystal Reports from a button on a web form.

Both books cover mutually exclusive content. I you want information on coding for the LAN client then you need III.7. For the new web client you need V.


Regards,


Stephen
www.slxmaster.com
[Reply][Quote]
Mike Boysen
Posts: 53
 
Re: Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 08 6:08 PM
I've got the LAN programming covered.

Since we're not talking about users here, but customer portal passwords, does the SLXRWEL object properly encrypt (like Application.Basicfunctions.WebCrypt) and decrypt a customer portal users password. That's what we're discussing here.

I probably will pick up the latest version of the book for the 7.5 web architecture since I haven't been doing that for 11 years.
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 08 2:20 PM
Hi Mike,

Try it out:

Dim x
Set x = CreateObject("SLXRWEL.SLXRWEOBJ")

sPwd = x.RemoveKey(pEnc, "***")

I'm not sure that I should post the actualy password that they use here. You might say, "Where's The Catch"? but it is fairly easy to divine it.


Regards,


Stephen
[Reply][Quote]
Chris Graham
Posts: 2
 
Re: Is BasicFunctions.WebEncrypt() time dependent?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 08 4:13 PM
It works. Thanks for your help.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 6:17:07 PM