wangjianyu3 c3e628c45a nshlib/md5: Support reading from standard input
Sometimes users may want to calculate the MD5 of part of a file(e.g. check
partition contents for debug after flashing, size of which may be greater
than image). This can be done with the "dd" command and pipes, the "md5"
command just needs to support reading from standard input. For example:
`dd if=/dev/virtblk0 bs=512 count=1 | md5`.

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-07-02 10:59:40 -03:00
..
2025-04-20 00:41:18 +08:00
2025-04-20 00:41:18 +08:00
2024-12-30 18:02:50 +08:00
2025-04-20 00:41:18 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2024-12-30 18:02:50 +08:00
2025-04-20 00:41:18 +08:00