You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/20 18:30:32 UTC

[GitHub] [incubator-nuttx] acassis commented on issue #4189: NuttX md5 command doesn't return same hash value returned by Linux md5sum

acassis commented on issue #4189:
URL: https://github.com/apache/incubator-nuttx/issues/4189#issuecomment-883605943


   An easier way to test:
   ```
   NuttX:
   
   nsh> dd if=/dev/zero of=bytes.bin bs=1 count=8                                            
   
   nsh> md5 bytes.bin                                                                        
   1318914cb26155868c8431f54cb7575a                                                          
   
   nsh> hexdump bytes.bin
   bytes.bin at 00000000:
   0000: 00 00 00 00 00 00 00 00                         ........
   nsh>
   
   
   Linux:
   
   alan@dev:~$ dd if=/dev/zero of=bytes.bin bs=1 count=8
   8+0 records in
   8+0 records out
   8 bytes copied, 0.000684003 s, 11.7 kB/s
   
   alan@dev:~$ md5sum bytes.bin 
   7dea362b3fac8e00956a4952a3d4f474  bytes.bin
   
   alan@dev:~$ hexdump -C bytes.bin 
   00000000  00 00 00 00 00 00 00 00                           |........|
   00000008
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org