Jump to content

sha1 returning binary value with a length greater than 20 chars...


scarhand

Recommended Posts

sha1 is returning a binary value greater than 20 chars and i cant understand why

 

heres code:

 

<?php
    $info_hash = sha1($tfile, TRUE);
    
    echo $info_hash;
?>

 

sha1 is supposed to return a 20 character binary value, but it is adding a "`" character to the end of it...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.