Click here to Skip to main content
15,907,910 members
Home / Discussions / Database
   

Database

 
QuestionExcel to SQL Pin
MAW3024-Feb-10 15:33
MAW3024-Feb-10 15:33 
AnswerRe: Excel to SQL Pin
WoutL24-Feb-10 19:54
WoutL24-Feb-10 19:54 
AnswerRe: Excel to SQL Pin
hans vogels29-Aug-10 9:21
hans vogels29-Aug-10 9:21 
QuestionCase-Sensative Password Column in SQL Anywhere 10 Pin
MWRivera24-Feb-10 5:59
MWRivera24-Feb-10 5:59 
AnswerRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
David Skelly24-Feb-10 6:23
David Skelly24-Feb-10 6:23 
AnswerRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
PIEBALDconsult24-Feb-10 9:20
mvePIEBALDconsult24-Feb-10 9:20 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
MWRivera24-Feb-10 9:24
MWRivera24-Feb-10 9:24 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
PIEBALDconsult24-Feb-10 14:19
mvePIEBALDconsult24-Feb-10 14:19 
Here are my hashing methods:

public static string
Hash
(
    string Subject
)
{
    return ( Hash 
    ( 
        System.Text.Encoding.Unicode.GetBytes ( Subject ) 
    , 
        new System.Security.Cryptography.SHA1Managed() 
    ) ) ;
}

public static string
Hash
(
    string                                     Subject
,
    System.Security.Cryptography.HashAlgorithm Provider
)
{
    return ( Hash 
    ( 
        System.Text.Encoding.Unicode.GetBytes ( Subject ) 
    , 
        Provider
    ) ) ;
}

public static string
Hash
(
    byte[] Subject
)
{
    return ( Hash 
    ( 
        Subject 
    , 
        new System.Security.Cryptography.SHA1Managed() 
    ) ) ;
}

public static string
Hash
(
    byte[]                                     Subject
,
    System.Security.Cryptography.HashAlgorithm Provider
)
{
    System.Text.StringBuilder result = 
        new System.Text.StringBuilder ( Provider.OutputBlockSize ) ;

    foreach 
    ( 
        byte b 
    in 
        Provider.ComputeHash ( Subject ) 
    )
    {
        result.Append ( b.ToString ( "X2" ) ) ;
    }

    return ( result.ToString() ) ;
}

GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
WoutL24-Feb-10 10:28
WoutL24-Feb-10 10:28 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
PIEBALDconsult24-Feb-10 14:10
mvePIEBALDconsult24-Feb-10 14:10 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
WoutL24-Feb-10 19:50
WoutL24-Feb-10 19:50 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
David Skelly24-Feb-10 22:46
David Skelly24-Feb-10 22:46 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
MWRivera25-Feb-10 3:51
MWRivera25-Feb-10 3:51 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
David Skelly25-Feb-10 6:14
David Skelly25-Feb-10 6:14 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
MWRivera25-Feb-10 6:27
MWRivera25-Feb-10 6:27 
GeneralRe: Case-Sensative Password Column in SQL Anywhere 10 Pin
MWRivera3-Mar-10 4:37
MWRivera3-Mar-10 4:37 
QuestionOracle Primary key Pin
MsmVc24-Feb-10 0:01
MsmVc24-Feb-10 0:01 
AnswerRe: Oracle Primary key Pin
Mycroft Holmes24-Feb-10 0:50
professionalMycroft Holmes24-Feb-10 0:50 
GeneralRe: Oracle Primary key Pin
MsmVc24-Feb-10 0:52
MsmVc24-Feb-10 0:52 
AnswerRe: Oracle Primary key Pin
David Skelly24-Feb-10 1:57
David Skelly24-Feb-10 1:57 
QuestionSSIS Connection Problem in C# Pin
Vimalsoft(Pty) Ltd23-Feb-10 20:15
professionalVimalsoft(Pty) Ltd23-Feb-10 20:15 
AnswerRe: SSIS Connection Problem in C# Pin
R. Giskard Reventlov24-Feb-10 3:19
R. Giskard Reventlov24-Feb-10 3:19 
GeneralRe: SSIS Connection Problem in C# Pin
Vimalsoft(Pty) Ltd24-Feb-10 4:09
professionalVimalsoft(Pty) Ltd24-Feb-10 4:09 
QuestionDateTime ; between query in SQL SERVER 2000 Pin
Karan_TN23-Feb-10 1:58
Karan_TN23-Feb-10 1:58 
AnswerRe: DateTime ; between query in SQL SERVER 2000 Pin
WoutL23-Feb-10 2:19
WoutL23-Feb-10 2:19 

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.