tags:

views:

43

answers:

1

I have .net code that need to be converted to PHP but I got value $bytearray[] in php need to do sha1 how to do that in PHP....

Pls help

A: 

See: http://stackoverflow.com/questions/616087/if-net-sha1-hash-expects-a-byte-array-and-php-sha1-wants-a-string-can-i-matc

mmattax
Shouldn't this be closed as a duplicate?
Dustin Fineout