NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: joep on August 19, 2024, 05:11:08 AM

Title: Strange behaviour of NetEncryptString and NetDecryptString
Post by: joep on August 19, 2024, 05:11:08 AM
I use NetEncryptString and NetDecryptString to decrypt passwords. So they won't show there initial value in the database.
Example:
Usr:Wachtwoord = NetEncryptString(lWachtwoord,len(lWachtwoord),'xxxxxxx')
And to show it again or to validate the paswords
lWachtwoordString = usr:Wachtwoord
lWachtwoord = NetDecryptString(lWachtwoordString,len(lWachtwoordString),'xxxxxxx')

But not all of the paswords can be decrypted.
These are some values and the indication wheter they can be decrypted:
- AA34&&&^    yes
- AA$A8nt56Y   yes
- $$34er$         no
- A3gh2$          yes
- B3gh2$          no

Can someone tell me why some values cannot be decrypted?

Regards
Joep
Title: Re: Strange behaviour of NetEncryptString and NetDecryptString
Post by: Bruce on September 22, 2024, 10:52:43 PM
duplicate thread
https://www.nettalkcentral.com/forum/index.php?topic=9517.0