| 444 | } |
| 445 | |
| 446 | String md5File(FS &fs, String filepath) { |
| 447 | if (!fs.exists(filepath)) return ""; |
| 448 | String txt = readSmallFile(fs, filepath); |
| 449 | MD5Builder md5; |
| 450 | md5.begin(); |
| 451 | md5.add(txt); |
| 452 | md5.calculate(); |
| 453 | return (md5.toString()); |
| 454 | } |
| 455 | |
| 456 | String crc32File(FS &fs, String filepath) { |
| 457 | if (!fs.exists(filepath)) return ""; |
no test coverage detected