MD5 in pattern library? #1843
Unanswered
xymox12
asked this question in
Pattern Language Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi - This is a great piece of software, and I am (very, very slowly) getting my head around the pattern language.
I have a file with a checksum (first 4 bytes) that needs recalculating and reapplying if data in the rest of the file is changed. It happens to be based on md5 with a bit of post-processing to reduce to 4 bytes. However, md5 doesn't appear to be in the std::hash library.
Regarding md5: I can probably use an api as a workaround e.g. as a POC 'std::print("{0}", hex::http::get("api.hashify.net/hash/md5/hex?value=helloWorld"));', but that seems a bit clunky considering the inbuilt md5 function.
Beta Was this translation helpful? Give feedback.
All reactions