Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[REVCMS] Change Password Hashing
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Diddy8000" data-source="post: 343140" data-attributes="member: 5890"><p>Hello all, I'm intergrating Radipanel into RevCMS and I decided that Radipanel's password hashing is better than RevCMS's So i wish to change RevCMS to have radipanel's hashing.</p><p></p><p>Here is radipanel's hashing:</p><p>[CODE]public function encrypt( $string ) {</p><p> </p><p> global $vars;</p><p></p><p> //let's md5 that salt and the string.</p><p> $salt1 = md5( $params['core']['salt1'] );</p><p> $salt2 = md5( $params['core']['salt2'] );</p><p> $string = md5( $string );</p><p></p><p> //stick them together.</p><p> $string = $salt1 . $salt1 . $salt2 . $string . $salt2 . $salt1;</p><p></p><p> //sha1 then md5 them again.</p><p> $string = sha1( $string );</p><p> $string = md5( $string );</p><p></p><p> return $string;</p><p> </p><p> }[/CODE]</p><p></p><p>How would I change revcms's to be like that, current revcms's below:</p><p>[CODE]final public function hashed($password) {</p><p> return md5($password);</p><p> }[/CODE]</p><p></p><p>[USER=591]@Sledmore[/USER] ?</p><p></p><p>Thanks for any help <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Diddy8000, post: 343140, member: 5890"] Hello all, I'm intergrating Radipanel into RevCMS and I decided that Radipanel's password hashing is better than RevCMS's So i wish to change RevCMS to have radipanel's hashing. Here is radipanel's hashing: [CODE]public function encrypt( $string ) { global $vars; //let's md5 that salt and the string. $salt1 = md5( $params['core']['salt1'] ); $salt2 = md5( $params['core']['salt2'] ); $string = md5( $string ); //stick them together. $string = $salt1 . $salt1 . $salt2 . $string . $salt2 . $salt1; //sha1 then md5 them again. $string = sha1( $string ); $string = md5( $string ); return $string; }[/CODE] How would I change revcms's to be like that, current revcms's below: [CODE]final public function hashed($password) { return md5($password); }[/CODE] [USER=591]@Sledmore[/USER] ? Thanks for any help :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[REVCMS] Change Password Hashing
Top