Click here to Skip to main content
16,005,120 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
malcomhfc11-Jul-10 10:10
malcomhfc11-Jul-10 10:10 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
DaveAuld11-Jul-10 10:37
professionalDaveAuld11-Jul-10 10:37 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
malcomhfc11-Jul-10 11:39
malcomhfc11-Jul-10 11:39 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
DaveAuld11-Jul-10 12:28
professionalDaveAuld11-Jul-10 12:28 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
malcomhfc11-Jul-10 12:50
malcomhfc11-Jul-10 12:50 
GeneralRe: retrieve the salt from a mysql database for a password. [modified] Pin
DaveAuld11-Jul-10 13:00
professionalDaveAuld11-Jul-10 13:00 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
Luc Pattyn11-Jul-10 13:42
sitebuilderLuc Pattyn11-Jul-10 13:42 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
DaveAuld13-Jul-10 7:57
professionalDaveAuld13-Jul-10 7:57 
Don't know how you are getting on, but i did some digging in the original joomla distro today, to find out what they do.

As a starting point i wanted to see how they added the admin user to the database during the install and from that it would point me to the code libraries used to do the encryption and salt generation etc.

If you take a look at the installation\installer\helper.php file you will see the createAdminUser() method, and you can see the helper functions being called, namely genRandomPassword(), getCryptedPassword(). The interesting thing to note is the genRandomPassword is also used to generate the necessary random salts.

These methods are found in the library located at; libraries\joomla\user\helper.php along with a couple of others used internally. without knowing the ins and outs of php, the code is pretty easy to follow, and you should be able come up with suitable code to allow vb integration with the joomla db.

hope that heads you off in the right direction now.
Dave

Don't forget to rate messages!
Find Me On: Web|Facebook|Twitter|LinkedIn
Waving? dave.m.auld[at]googlewave.com


QuestionFile copy performance... one more time Pin
Sonhospa11-Jul-10 2:02
Sonhospa11-Jul-10 2:02 
AnswerRe: File copy performance... one more time Pin
Luc Pattyn11-Jul-10 11:01
sitebuilderLuc Pattyn11-Jul-10 11:01 
GeneralRe: File copy performance... one more time Pin
Sonhospa11-Jul-10 12:35
Sonhospa11-Jul-10 12:35 
GeneralRe: File copy performance... one more time Pin
Luc Pattyn11-Jul-10 12:51
sitebuilderLuc Pattyn11-Jul-10 12:51 
QuestionAny way to access Parent Form From a class? Pin
Аslam Iqbal9-Jul-10 21:47
professionalАslam Iqbal9-Jul-10 21:47 
AnswerRe: Any way to access Parent Form From a class? Pin
Luc Pattyn9-Jul-10 22:36
sitebuilderLuc Pattyn9-Jul-10 22:36 
GeneralRe: Any way to access Parent Form From a class? Pin
Аslam Iqbal10-Jul-10 5:03
professionalАslam Iqbal10-Jul-10 5:03 
GeneralRe: Any way to access Parent Form From a class? Pin
darkelv10-Jul-10 18:45
darkelv10-Jul-10 18:45 
QuestionGet name in FlowLayoutPanel child control Pin
ivo759-Jul-10 4:38
ivo759-Jul-10 4:38 
AnswerRe: Get name in FlowLayoutPanel child control Pin
Dave Kreskowiak9-Jul-10 9:41
mveDave Kreskowiak9-Jul-10 9:41 
GeneralRe: Get name in FlowLayoutPanel child control Pin
ivo759-Jul-10 11:47
ivo759-Jul-10 11:47 
AnswerRe: Get name in FlowLayoutPanel child control Pin
Luc Pattyn9-Jul-10 10:11
sitebuilderLuc Pattyn9-Jul-10 10:11 
QuestionComboBox help Pin
RyJaBy8-Jul-10 3:33
RyJaBy8-Jul-10 3:33 
AnswerRe: ComboBox help PinPopular
Wayne Gaylard8-Jul-10 4:24
professionalWayne Gaylard8-Jul-10 4:24 
GeneralRe: ComboBox help Pin
RyJaBy8-Jul-10 4:34
RyJaBy8-Jul-10 4:34 
AnswerRe: ComboBox help Pin
Scubapro8-Jul-10 4:27
Scubapro8-Jul-10 4:27 
GeneralRe: ComboBox help Pin
RyJaBy8-Jul-10 4:34
RyJaBy8-Jul-10 4:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.