cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Convert Password to its corresponding string

RK_0705
12-Amethyst

Convert Password to its corresponding string

Hi Team,

 

Just like we have service for converting from String to Password we have one service called EncryptPropertyValue, how we can convert from Password to String.

 

Please share the snippet.

 

Thanks in advance.

3 REPLIES 3
VladimirN
24-Ruby II
(To:RK_0705)

From "Help Center" - "Password Base type": https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/Security/password_basetype.html

 

Article - "Error occuring while setting password type variable using password property in ThingWorx": https://www.ptc.com/en/support/article/CS238671 

RK_0705
12-Amethyst
(To:VladimirN)

@VladimirN 

This article is for converting from STRING to PASSWORD.

 

But I need its reverse conversion from PASSWORD to STRING (if its feasible).

PEHOWE
17-Peridot
(To:RK_0705)

@RK_0705,

 

There are 2 methods to store information. A string can be encrypted or it can be hashed.

In ThingWorx a password is stored by creating a hash of the string entered. This is a math operation which can not be undone. If you have a value which was truly stored as a password then there is no method available to get the original string.

 

HTH

Pehowe

Announcements


Top Tags