Jump to content

Recommended Posts

Posted

Yes i saw the link. thank you very much. Actually i am trying to decrypt a password that is stored in the database and i did use your method but with error and i  did see one post where it said that i cant decrypt passwords.

 

So can you help me out to clear my doubts.

Posted

Yes i saw the link. thank you very much. Actually i am trying to decrypt a password that is stored in the database and i did use your method but with error and i  did see one post where it said that i cant decrypt passwords.

 

So can you help me out to clear my doubts.

 

Why do you need to decrypt passwords? if it was my password in that database and you could read it I wouldn't trust you again.

Posted

Then how would i make an api call, where a password is required as a parameter? Should i pass it directly and system would handle the decryption or do i need to do something else?

Posted

Then how would i make an api call, where a password is required as a parameter? Should i pass it directly and system would handle the decryption or do i need to do something else?

 

 

Have a look at Enom's module for it, but again they shouldn't use a password but a hash for APIs in my opinion.

Posted

When i am trying to call systemDecrypt method like the one you said AppModel::systemDecrypt($var); it gives me an error saying call to undefined function loadCrypto().

 

What if i try to include or load the file app_model and then trying to call the method?

Posted

When i am trying to call systemDecrypt method like the one you said AppModel::systemDecrypt($var); it gives me an error saying call to undefined function loadCrypto().

 

What if i try to include or load the file app_model and then trying to call the method?

won't work ..

 

why you need to decrypt a password ?

 

you must tell us what you need to other users can help you .

 

if you want just to decrypt a password won't get a help .

Posted

You can't decrypt user passwords in Blesta because passwords in Blesta are not encrypted. They are one-way hashes.

 

There is no valid case where you should know someone else's password. If a user cannot login for some reason, they should change their password to something else.

Posted

Hi,

 

Guys thanks for the heads up. I was not asking about encrypting or decrypting a user password. The link provided by Licensecart helped me. Yes i did read they are one way hashes.

 

Anyways i got my solution.

 

Your software is easy to use and understand. Great Work. Great Help. Thanks a lot!!! :blesta::D ....

 

I'll keep posting if i face any other problems

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...