samuel-lucas6 / milva Goto Github PK
View Code? Open in Web Editor NEWA simple, cross-platform command line tool for hashing files and text.
Home Page: https://samuellucas.com/Milva
License: GNU General Public License v3.0
A simple, cross-platform command line tool for hashing files and text.
Home Page: https://samuellucas.com/Milva
License: GNU General Public License v3.0
Windows 7, Milva 1.1.0, b3sum 0.3.7, hashsum 1.0
$ milva.exe --blake3 milva.exe
milva.exe: af1349b9f5f9a1a6a0404dea36dcc9499bcb25c9adc112b7cc9a93cae41f3262
$ b3sum.exe milva.exe
21bc827a71ac67d907aa51e0ae4d3f26e3448a40c5aaed5df298cc75d1cdd55a milva.exe
$ hashsum_win64.exe -v -t b3 milva.exe
21bc827a71ac67d907aa51e0ae4d3f26e3448a40c5aaed5df298cc75d1cdd55a milva.exe
Does it make sense to add the functionality to hash text?
I think it can be added fairly easily by adding a t/text bool flag (with false as the default) and passing it to the HashEachFile method and changing the GetHash method to accept a Stream instead of a FileStream and then in the HashEachFile method if the Text flag is true in the forEach loop we can convert the text to a Stream.
If you think it makes sense I can work on it.
Version:
Milva v1.4.0
OS: Windows 10 21H2
test1.xyz size: 2,00 GB (2.147.483.648 bytes)
Error:
milva --blake3 test1.xyz
test1.xyz - Error: System.IO.IOException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.