![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
#3
| |||
| |||
|
|
Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
#4
| |||
| |||
|
|
Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
#5
| |||
| |||
|
|
Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
#6
| |||
| |||
|
|
Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
#7
| |||
| |||
|
|
Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
#8
| |||
| |||
|
|
Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
#9
| |||
| |||
|
|
Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
#10
| |||
| |||
|
|
Gorm, Starting with SQL Server 2005 there is a HASHBYTES keyword that allows you to choose from a set of methods and returns VARBINARY. It can be cast into BIGINT, but it is not reversable. The MD5 method returns 16 bytes, but BIGINT is only 8 bytes. See the output of the following: SELECT HASHBYTES('MD5','Gorm Braarvig') AS BINMD5, CAST (HASHBYTES('MD5','Gorm Braarvig') AS BIGINT) AS BIGINTMD5, CAST (CAST (HASHBYTES('MD5','Gorm Braarvig') AS BIGINT) AS VARBINARY(8000)) AS BINAGAINMDF Results: 0x647679B1F3F515655EC3B478951307CF 6828499890013931471 0x5EC3B478951307CF Does that help? RLF "Gorm Braarvig" <gorm_b (AT) hotmail (DOT) com> wrote in message news:C9564050-4CC3-45FC-B4C0-BBD263E9D924 (AT) microsoft (DOT) com... Hi! I currently use conesans checksum component, but I need a md5-checksum pushed into a bigint (I believe conesans uses crc-32). Has anyone solved this? regards, Gorm Braarvig |
![]() |
| Thread Tools | |
| Display Modes | |
| |