|
Hello to all.
I have a problem, I need to encode a password string in SSHA(this uses SHA1 in some way). I don't know how to do this. I didn't find any article on the net about that.
I need to do this because I'retrieving UserDetails from OpenSSO server, and the password retrieved is in SSHA encoded, and I need to compare with the given one password that's the input for my method, but to do that I need to encode this using SSHA.
Some ideas?
Thanks in advance.
|
|
|
|
|
|
Thank you for your post, but I found this article before posting the question. It doesn't help me.
I think right now to change the strategy in my application because of that.
|
|
|
|
|
SSHA is the default encoding in openLDAP - I havnt seen many/?any stand-alone implementations of SSHA, so, you could download openLDAP, pull the code you need out of that !
ps .. its also used by the htpasswd function in Apache, so you could d/load that as an alternative to openLDAP
'g'
|
|
|
|
|
Thank you for your advice. I'll try to solve my problem.
|
|
|
|
|
I found a plausible implementation that wouldve been easier to start with, but Im at home and its at work
There is a good discussion with java and perl implementations at http://www.securitydocs.com/library/3439[^]
'g'
|
|
|
|
|
Hi,
Can anybody explain me what is WPF and WCF and where it is used?
I want free ebook on above topics.
Can anybody give me d books?
I searched books on net, but nothing is free.
Regards,
Sunil G.
|
|
|
|
|
If you have a look, there is a forum for WPF, WCF et al.
Ask there, they might be willing and able to assist.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Sunil G wrote: Can anybody explain me what is WPF and WCF
I searched books on net, but nothing is free.
There are many free articles introducing WPF on the net, including here on CodeProject; go to the articles page and look for the headings. I have not tried WCF yet but I suspect the same holds true for that.
MVP 2010 - are they mad?
|
|
|
|
|
Sunil G wrote: I searched books on net, but nothing is free.
There's a reason they aren't free. The authors have to eat, so it's not fair to expect them to spend months writing books on complex topics, and then expect them to give them away.
If you don't want to buy a book, then read through the WPF docs on MSDN, and read through the articles by Josh Smith, Sacha Barber and Karl Shifflett here on CP.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Friends,
Iam very to this community.. I want to develop a application to retrieve mails from g-mail into my application(just like mini outlook). so what are the APi's Available for it ... Please some body share it...
Thanks in ADvance.....
|
|
|
|
|
|
Hi Pardhu2.
Did you found the way to to retrieve mails from g-mail?
Please help me. I need to retrieve mails from g-mail but I can't find how to do it.
Thank you.
|
|
|
|
|
Hi SergGM,
there is a shareware application witch can extract emails from gmail and saves them as .txt documents (or one .txt document). [Link].
I'm trying to create similar solution of mine.
|
|
|
|
|
Do other people run across this Visual studio Help issue(I'm using vs2008 pro all service packs) and when I accidentally hit F1 or cause anything that resembled asking for help, the DExplore.exe opens up and runs "Help Update in Progress" for the rest of the day. VStudio is frozen and you cannot kill the dexplore thread without killing vstudio too.
I've tried setting help options to Not allow offline search, to no avail. I've trid opening up dexplore on its own, but even then F1 will trigger a new dexplore. I've tried removing F1 from the keyboard macros
Anyone else experiencing this. It happens to me on different computers as well.
|
|
|
|
|
Happens to me all the time. Not completely locked up however. It comes back after 4-5 minuts.
I never have found a good way to prevent it.
|
|
|
|
|
Hi All,
I have to import a table & a Query from c:\Programfile\asd\MyProject\test.mdb to c:\document&settings\ applicationdata\test.mdb.
I have created & established the Connection string & all. the only thing i am not getting is Query needed to pass...
Please help..
|
|
|
|
|
Well you should post it in the DB forum/section.
Anyway here's one way how you could do it(the query):
OleDbCommnand cmd = new OledbCommand(con);
cmd.CommandText = "CREATE PROC nameOfQueryHere(inName VARCHAR(50))
AS SELECT * FROM tblNameHere
WHERE tblNameHere.Name = inName";
cmd.ExecuteNonQuery();
Of course try catch and all that is up to you. I just posted an ideea.
[EDIT]The same technique for creating a table.
Use a command string in witch you create the table and execute it[/EDIT]
modified on Monday, February 1, 2010 9:07 AM
|
|
|
|
|
|
Hi!
I've read arrow kay can only be intercepted by using KeyUp event. KeyPress only works with characters, and KeyDown allows Control Keys, too, but not arrow keys.
I have tried, and KeyUp works well... but only if i have no other controls in the form! If I have any control enabled and focussed, I can't trap KeyUp Form evnent... I suppose the focussed control traps it.
I have Visual Studio 2003, so I only can use .NET Framework 1 available (or so I have been told). I'm proggramming a simple form that allow me to brouse data fron a database, and I don't have access to this nice BindingNavigator control. So, I have created the form, binded controls, and created the First, Last, Prev, Next buttons to manage my CurrencyManager. It works fine, but I want to be able to browse just using my arrow keys. I think that trap arrow keys ON EVERY active controls in my form is a very poor solution...
Any help, please?
|
|
|
|
|
http://support.microsoft.com/?id=320584[^]
Evidently, you have to override ProcessCmdKey
BTW, google is your friend...
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Thanks!
In fact, just a few minutes ago, I had found this same article (google is your really 'very best' friend), and I was going to post the solution for any people who needed it. This, combined with myButton.PerformClick(), is the complete solution I needed.
Thanks for your very quick reply!
|
|
|
|
|
Hi All
I've crater a cr with sub report. The data in main report is working fine but the subreport is blank.
I do this:
crMyCR cr = new crMyCR();
cr.SetDataSource(dt1);
cr.Subreports[0].SetDataSource(dt2);
Any idea. Please
Thanks
Syed Shahid Hussain
|
|
|
|
|
Syed Shahid Hussain wrote: Any idea
Don't use a CR, and if you must ask questions about it, go and ask the crystal peeps.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
where is crystal peep
Syed Shahid Hussain
|
|
|
|