Jump to content

Question

Posted

hi

i need to get to know what is the key for the the hashed password

and from where do i get the key

actually i need to know what is the key inserted into the hash_hmac for encrypting

any devs, or guys from blesta team may let me know

thanks

amit

5 answers to this question

Recommended Posts

  • 0
Posted

You have the system_hash key in config/blesta.php

but break that and your encryptions are all gone.


Edit:

HAHAHAHAHAH the password from a hash? Erm it's done with Bcrypt which is irreversible like Beav said. There's NO way you can reverse that unless you use a competitor who doesn't use it correctly.

  • 0
Posted
5 hours ago, Amit Kumar Mishra said:

i need to get to know what is the key for the the hashed password

and from where do i get the key

As @Blesta.Store said, it is found in the last line of config/blesta.php.  The line looks something like:

Configure::set('Blesta.system_key', '{system_key}');

You can get retrieve this value within the Blesta code by calling Configure::get('Blesta.system_key').

  • 0
Posted

jokes apart, thanks for the contributions, i would rather like to concentrate on the topic

@Jono, i would like to know what is taken as hash key

i do not intend to reverse the password encryption, its just i am trying to achieve something, but wish to know what to pass on with the hash_hmac in the key field

actually what goes into the key

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...