Comments (17)
BLAKE2s and BLAKE2b hash functions were added by f693b9e, a479d7a and released in v1.4.1.
No SSE/AVX optimization were applied due to my lack of time (consider donations, it will help).
For the BLAKE3 hash function please file another issue. Note, that Implementing another one hash function will also require significant change of librhash interfaces due to architecture limitation.
from rhash.
See Issue #12
from rhash.
@rhash, прошу прощения, в фильтре вбил "blake" - результат был 0 (сейчас проверил, с "blake2 " находит, не ожидал) :(
from rhash.
Могу добавить поддержку BLAKE2 (и некоторых других), но, как я понимаю, автор не примет PR со сторонними библиотеками. :-)
from rhash.
@data-man
Думаю, автора, можно понять - кроссплатформенно (Win, Linux, *BSD, MacOS) плюс лицензия. Сейчас глянул ради любопытства: исходники BLAKE2 доступны в т.ч. и под CC0 aka CC Zero, крайне лояльно, как и RHash, смущает только наличие ref/
и sse/
- определение автоматом как-то поинтереснее.
Библиотека сторонняя? У авторов не вижу библиотек, только исполняемые файлы вроде.
from rhash.
Библиотека сторонняя?
От самих авторов :-) https://github.com/BLAKE2/libb2
смущает только наличие ref/ и sse/ - определение автоматом как-то поинтереснее.
https://github.com/BLAKE2/libb2/blob/master/src/blake2-dispatch.c#L52
from rhash.
CC0 подходит.
Blake2 довольно большое семество функций. Похоже, имеет смысл взять blake2b-512, т.к. большинство современых CPU 64-битные.
from rhash.
Похоже, имеет смысл взять blake2b-512, т.к. большинство современых CPU 64-битные.
Но в случае чего, при необходимости, можно будет запустить и на 32-битной ОС?
Т.к. RHash - утилита универсальная, касательно инструкций SSE2 и далее: при всех плюсах хотелось бы сохранить возможность работать с RHash и на старых процессорах (по большей части AMD до Athlon 64, полагаю), если это будет возможно.
from rhash.
@Skif-off
libb2 определяет поддержку необходимых инструкций процессором и динамически присваивает функции, наиболее эффективно реализующие алгоритм на этом процессоре.
from rhash.
@Skif-off, естественно)
from rhash.
I'm looking forward to this as well. Impressive performance stats.
Update: whoa! edonr512 is wicked fast! Looks like --edonr512
is my new default.. Thanks again for this great software.
from rhash.
Похоже, имеет смысл взять blake2b-512, т.к. большинство современых CPU 64-битные.
Если будет время и возможность, не могли бы вы рассмотреть и добавление BLAKE2s-256 заодно, если это не будет слишком уж геморрно?
Утилит толком и нет, из кросплатформенного вроде лишь b2sum
и Double Commander...
from rhash.
monocypher имеет blake2b. Лицензия CC0.
from rhash.
BLAKE3 уже давно на дворе. :)
Есть C-реализация.
This work is released into the public domain with CC0 1.0. Alternatively, it is
licensed under the Apache License 2.0.
from rhash.
BLAKE3 уже давно на дворе. :)
Давно - в смысле "полгода"? :) И все-все-все, поголовно, ну просто куда ни ткни, умеют BLAKE3 считать...
monocypher имеет blake2b.
Не понял, как у неё с кроссплатформенностью, но главное - это библиотека, её не повесить на кнопку и в скрипте не запустить.
Правда, на странице загрузки выложены линки на биндинги для нескольких языков, но это ещё уметь надо...
from rhash.
BLAKE3 уже давно на дворе. :)
Давно - в смысле "полгода"? :) И все-все-все, поголовно, ну просто куда ни ткни, умеют BLAKE3 считать...
blake3 ничего не привнес, только параллельность.
monocypher имеет blake2b.
Не понял, как у неё с кроссплатформенностью, но главное - это библиотека, её не повесить на кнопку и в скрипте не запустить.
Правда, на странице загрузки выложены линки на биндинги для нескольких языков, но это ещё уметь надо...
Monocypher работает на диапазоне 16бит (RL78) и выше, любая архитектура и ОС, например, IRIX.
Она проходит TIS (interp, CI) и CompCert (interp) и у нее был аудит (cure53) в этом году.
from rhash.
Comrades! I created an issue about BLAKE3. Please, pay a visit and vote for it. God bless @rhash!
from rhash.
Related Issues (20)
- slash / vs. backslash \ HOT 1
- Verifying torrents HOT 3
- maybe parsing error of md5 file HOT 3
- Checking with extensions on "--exclude" will still write said files on --output file HOT 1
- Feature request: add directive for hash function name in output HOT 3
- Fix build for NetBSD and other OS HOT 5
- Cannot find `librhash.so.1` after installation with custom `—prefix` HOT 3
- `--check path\file_with_hash` not working ("No such file or directory") with RHash 1.4.4 (ok with 1.4.3) [windows binaries] HOT 2
- `--speed` option: duration is always in seconds, even if it is longer than a minute
- link failure on platforms that require libiconv HOT 3
- man file doesn't get updated with custom config file location
- Build system is broken on macos HOT 1
- add algorithm: bittorrent v2 merkle root hash HOT 2
- Add `--preamble=<format>` output format option
- Symbolic links to files are shown with a size of zero bytes on Windows HOT 1
- Incompatible pointer to integer conversion in rhash.c HOT 3
- Permission denied - stops hash calculation when using --update
- Feature to remember successful hash algorithm when checking file
- Request for option to print/return only the hash value
- rhash -a -B not doing what I'd expect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhash.