top of page

Convert(int,sys.fn_sqlvarbasetostr(hashbytes('md5','1522521276'))) ✰ < EASY >

: Generates a 128-bit MD5 hash of the string '1522521276'. The resulting binary value is 0xE4F3F000CC6A3F98F7A831A601E6E002 .

The T-SQL expression convert(int,sys.fn_sqlvarbasetostr(HashBytes('MD5','1522521276'))) returns the integer value . Breakdown of the Execution : Generates a 128-bit MD5 hash of the string '1522521276'

: This internal function converts that binary hash into its string representation: '0xe4f3f000cc6a3f98f7a831a601e6e002' . : Generates a 128-bit MD5 hash of the string '1522521276'

bottom of page