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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Convert Password to its corresponding string

RK_0705
11-Garnet

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 

@VladimirN 

This article is for converting from STRING to PASSWORD.

 

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

PEHOWE
16-Pearl
(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

Top Tags