vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   md5 decryption (https://vborg.vbsupport.ru/showthread.php?t=65508)

meowmeow 05-25-2004 11:04 AM

md5 decryption
 
how do I use md5 to decrypt an encrypted password in VB3???

i get the $password and $salt from the database...
..i then want to revert it to the plain text password!

how do i do that?

Zachery 05-25-2004 11:06 AM

Quote:

Originally Posted by meowmeow
how do I use md5 to decrypt an encrypted password in VB3???

i get the $password and $salt from the database...
..i then want to revert it to the plain text password!

how do i do that?

There is no way to do this.

and its not encrypted, its hashed

meowmeow 05-25-2004 11:10 AM

there is no way?!?!
so if i want to compare two passwords i would have to get the $plain_text_pwd and HASH it with the $salt of the HASHED password and check they're the same? correct?

Zachery 05-25-2004 11:11 AM

You would need to use the same process vBulletin uses and use the end resut to compare the hashed password results

Xenon 05-25-2004 02:38 PM

the passwords of vb3 are doublehashed.

you have to has the value with your lisencenr as well.
Try to do a search to find out how the password generation works exactly.
i know from a thread where it's explained in detail :)

and the general thing:
it's not just that way in vb, the md5 hash cannot be used to recreate the original password. It's mathmatically impossible :)


All times are GMT. The time now is 11:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02517 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete