Results 1 to 4 of 4

Thread: Case Sensitive Passwords (Hash) ?

Threaded View

  1. #3

    Thread Starter
    New Member
    Join Date
    Dec 2005
    Location
    United States
    Posts
    7

    Re: Case Sensitive Passwords (Hash) ?

    Quote Originally Posted by dglienna
    Capicom is case sensative, but I'm not sure about the hash. It should be.
    Here's a VBA sample, that should be easy to translate

    http://www.dbazine.com/code/larsen2-1.txt

    it's from here:

    http://www.dbazine.com/sql/sql-articles/larsen2
    Thanks for the reply,

    Is that really a VBA example? I know little to nothing about VBA but that looks like a T-SQL example. I wasn't sure. I'm not fimiliar with the syntax of VBA. I didn't realize that VBA was that close to T-SQL.

    Either way, its fairly simple to understand, but it looks like the hashing is still going to be case-insensitive.

    I haven't actually wrote an example, but from the code it looks like it would be.

    It looks like behind the secnes its using the same hashing method that .Net uses.

    Code:
    exec @rc = sp_oasetproperty @object, 'algorithm', 0 -- sha 1
    Should CAPICOM be used from C#? It looks like this was designed for VB6.0 and C++ in order to easily take advantage of Crypto functions. I believe its just an interface between CryptoAPI and VB/C++ in order to make it easier to use Crypto fucntions from those languages. It doesn't say anything in the documentation about C#, or any other .Net languages.

    I'm not 100% sure but this looks like just an interface for those languages, .Net already has a crypto interface included in the .Net Framework.

    I was a little confused on that, can you please advise a little more on it?

    Thanks for your help!

    Quote Originally Posted by MSDN Article (in that link)
    CAPICOM is intended for use by developers who are creating applications using the Microsoft Visual Basic development system, the Visual Basic Scripting Edition (VBScript) programming language, or the C++ programming language.
    Last edited by Billiard; Dec 17th, 2005 at 01:41 AM.
    - Billiard
    If you would like me to read your code, please use [code] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width