-2
$\begingroup$

My question is this: Are there any crypto hash implementations beyond 512 bits of output?

Could you give me the link?

Thank you so much for your time.

Greetings.

$\endgroup$
12
  • $\begingroup$ en.wikipedia.org/wiki/SHA-3 with the variable parameter d $\endgroup$
    – A. Hersean
    Oct 15 '20 at 15:30
  • $\begingroup$ This is for my homework, if you could just give me some link of the implementation? $\endgroup$ Oct 15 '20 at 15:40
  • 5
    $\begingroup$ XOF hash functions (extendible output functions) are hash functions that support generating arbitrarily large outputs. $\endgroup$
    – Xander
    Oct 15 '20 at 16:01
  • 6
    $\begingroup$ Uh, 1. that's not in your question and 2. I think you misunderstand the term "homework", it is something that you perform inside your home, not we in our home. $\endgroup$
    – Maarten Bodewes
    Oct 15 '20 at 16:09
  • 2
    $\begingroup$ Her's a shake link for you. Happy programming. pycryptodome.readthedocs.io/en/latest/src/hash/shake128.html $\endgroup$
    – Maarten Bodewes
    Oct 15 '20 at 16:21
0
$\begingroup$

You can use any hash function with a stream cipher or block cipher in streaming mode like CTR/OFB to produce arbitrary length output beyond 512 bits.

Another method is using extendable-output functions (XOFs). XOF is a hash function that its output can be extended to any length. Keccak (SHA-3), Skein and BLAKE3 have extendable output mode.

There are many implementations of SHAKE128/SHAKE256 (SHA-3's XOF).

$\endgroup$
2
  • $\begingroup$ Since you are a new contributor to our site, you might note that we don't answer homework questions, we only provide a hint for them in the comments if they show some efforts. You can search and find our community agreement on the meta site. Also, this question is already a library/software recommendation and out of the scope of Cryptography.SE, too. Warm welcomes... $\endgroup$
    – kelalaka
    Oct 15 '20 at 21:34
  • $\begingroup$ @kelalaka OK, Thanks. $\endgroup$
    – Hypatia
    Oct 16 '20 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.