List:General Discussion« Previous MessageNext Message »
From:Aveek Misra Date:September 17 2010 12:24pm
Subject:Re: SHA1 returns binary value
View as plain text  
Use UNHEX(SHA1('abc')) to get the string value

On Sep 17, 2010, at 5:38 PM, Tompkins Neil wrote:

> Hi
> 
> Why when I run the command (MySQL 5.1) SELECT SHA1('abc'); is it returned as
> a binary value and not a string value ?
> 
> Cheers
> Neil

Thread
SHA1 returns binary valueTompkins Neil17 Sep
  • Re: SHA1 returns binary valueAveek Misra17 Sep
  • Re: SHA1 returns binary valuePaul DuBois21 Sep
    • MySQL Error 1045Tim Thorburn21 Sep
      • Re: MySQL Error 1045Tim Thorburn21 Sep
        • Re: MySQL Error 1045Jigal van Hemert21 Sep