Jump to content

mahgust

Members
  • Posts

    14
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by mahgust

  1. Hi! I'm able to check on M1 Monterey, could you share the app ? It's interesting how it works since you are first one who start working with LV on so fresh Mac OS version.
  2. Speaking about plan "B", I hope that NI will change their decision and will provide perpetual licenses again. Subscription is a way for big industrial companies, but for individuals, small companies and start-ups it isn't an option. Labview was invented as tool for engineers which helps do their job, not just another tool for marketing stuff, it would be nice keep it in mind.
  3. In carrot and stick method NI chose stick. Active IDE improvement and grow, new features lead users to go to newer versions. (Just an example - Win11/Ubuntu/Mac M1 support in time). Switching to subscriptions is an option for SW-only products, for HW products going to subscription can be wrong choice imho. This is just "engineering" point of view, marketing staff at NI have different one)
  4. EVP Functions was used according this OpenSSL version https://www.openssl.org/docs/man1.0.2/man3/EVP_DigestInit.html OpenSSL_add_all_digests(); md = EVP_get_digestbyname(argv[1]); mdctx = EVP_MD_CTX_create(); EVP_DigestInit_ex(mdctx, md, NULL); EVP_DigestUpdate(mdctx, mess1, strlen(mess1)); EVP_DigestFinal_ex(mdctx, md_value, &md_len); EVP_MD_CTX_destroy(mdctx); EVP_cleanup();
  5. Thanks a lot, guys! EVP is working now! md4 md5 sha1 sha224 sha256 sha384 sha512 can be calculated. Quite convinient and fast utility for file integrity check can be created in this way. Should we point NI to this (hash calc through EVP interface) via Idea Exchange ? MD5_my7.vi
  6. //new 3.0 openssl lib has new-free definitions mdctx = EVP_MD_CTX_new(); EVP_MD_CTX_free(mdctx); //old 1.0 openssl lib has create-destroy definitions mdctx = EVP_MD_CTX_create(); EVP_MD_CTX_destroy(mdctx); Lib in LV2014 operates in create/destroy definitions. I've tried to implement create-destroy without structure definition only with pointer, but it leads to LV crash. Could you suggest what is wrong with my code ? Thx! Untitled 1.vi
  7. New version with sequence Init -> Update -> Final. P.S. I tried EVP interface but is in stuck with EVP_MD_CTX structure definition in LV. https://github.com/theos/headers/blob/master/openssl/evp.h MD5_my5.vi
  8. Yes, it seems like for a large files it should be done in this way http://websites.umich.edu/~x509/ssleay/md5.html
  9. Direct MD5 call was used from NIlibeay32.dll instead of EVP_Digest interface
  10. ShaunR, thanks for the idea sharing! Hoovah, code is attached (was deleted because of memory error with large >1GB files, use new version (MD5_my5.vi) posted in message below).
  11. Hoovah, thanks a lot! I tested FastSum utility for MD5 from http://fastsum.com/download.php and it's very fast, maybe even faster than http://www.etree.org/md5com.html It's also free for Command Line Edition. I'll try to rebuild your code around it.
  12. Hoovah, This is quite old topic but it's still very actual. Could you upload fast MD5 calc for large files to this topic again ? All links above does not working anymore. Thanks!
  13. Hi! zeller2.vi and zeller.vi has different results. zeller.vi has correct one. Check today date 11may18 it is friday. Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.