Git Product home page Git Product logo

Comments (5)

rhash avatar rhash commented on May 27, 2024

Yes.

From the man-page:

The default output format can also be changed by renaming the program or placing a hardlink/symlink to it with a name containing strings ‘crc32’, ‘md4’, ‘md5’, ‘sha1’, ‘sha256’ ‘sha512’, ‘tiger’, ‘tth’, ‘btih’, ‘aich’, ‘ed2k’, ‘ed2k-link’, ‘gost’, ‘gost-cryptopro’, ‘ripemd160’, ‘has160’, ‘whirlpool’, ‘edonr256’, ‘edonr512’, ‘snefru128’, ‘snefru256’, ‘sfv’ or ‘magnet’.

from rhash.

eli-schwartz avatar eli-schwartz commented on May 27, 2024

Thanks, but I was hoping you could add that to the Makefile in this repository...

(I should probably not have relied on people interpreting my non-literal meaning though.)

from rhash.

rhash avatar rhash commented on May 27, 2024

Many Linux distributions already have commands:
md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, crc32
I don't want to duplicate them and disturb bash completion.

Most people also don't want old hash sums like aich and snefru. Btih is hardly a hash sum, because it depends on not strictly specified block-size parameter.

Edonr is very fast and good hash (it's a sha3 candidate), but it is not well known and is rarely used. I think, I need some more reasons to add it.

As a packager you can pass SYMLINKS variable to the make command (or patch Makefile after unpacking tgz), and you'll get all symlinks you want.

from rhash.

rhash avatar rhash commented on May 27, 2024

done by commit cdaf438

  1. edonr256-hash edonr512-hash now are installed by default
  2. you can change symlinks list by specifying configure --enable-symlinks=<LIST> option, e.g.:
    ./configure --enable-symlinks="crc32-hash sha256-hash ripemd160-hash"

See the man page for the possible symlink names: http://rhash.anz.ru/manpage.php#sect2

from rhash.

rhash avatar rhash commented on May 27, 2024

Included into RHash v1.3.6.

from rhash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.