RipeMD320 Hash Calculator

Calculate the RIPEMD-320 hash of any text and get the 80-character hexadecimal digest, an extended-output variant of RIPEMD-160 built for a longer digest without a higher security claim. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-22

Overview

Introduction

RIPEMD-320 extends RIPEMD-160, the hash best known for its role in Bitcoin address generation, to a 320-bit output, explicitly for applications that want a longer digest without needing a stronger security guarantee.

This tool computes RIPEMD-320's 320-bit digest of any text you provide, entirely in your browser, useful for reproducing a known value or comparing it against its shorter sibling.

What Is RipeMD320 Hash Calculator?

RIPEMD-320 is a cryptographic hash function from the same RIPEMD family as RIPEMD-160, producing a 320-bit digest shown here as 80 hexadecimal characters.

It runs RIPEMD-160's same two-line, 80-round-per-line structure, but starts each line from its own independent set of five initial values and periodically swaps a chaining variable between the two lines, yielding ten running 32-bit words (320 bits total) instead of five combined into 160 bits.

How RipeMD320 Hash Calculator Works

Input text is UTF-8 encoded and padded exactly as MD4 does (a 0x80 byte, zero padding, then a 64-bit little-endian bit-length), then processed in 64-byte blocks.

Each block runs through two parallel 80-round lines, swapping one chaining variable between lines after rounds 16, 32, 48, 64, and 80; the ten resulting 32-bit words are added into the ten running chaining variables that form the 320-bit digest.

When To Use RipeMD320 Hash Calculator

Use RIPEMD-320 when you need to reproduce or match a value from a system that specifically uses it, typically for a longer fixed-width digest field rather than for stronger security.

If you actually need higher-security-class collision resistance, use a hash designed for that purpose, like SHA-256 or BLAKE3, rather than RIPEMD-320's extended-but-not-strengthened construction.

Features

Advantages

  • Longer 80-character output than RIPEMD-160, useful where a wider fixed field or lower accidental-collision rate on large datasets is the goal.
  • Shares RIPEMD-160's dual-line structural redundancy, which has held up better than single-line designs of the same era like MD5 or SHA-1.
  • Fast to compute, comparable in speed to its sibling RIPEMD-160.

Limitations

  • Does not provide stronger security than RIPEMD-160 despite the longer output, by the original designers' own description.
  • Far less commonly implemented and tested than SHA-2, SHA-3, or even plain RIPEMD-160.
  • Easy to mistake for a stronger option than RIPEMD-160 purely because of its longer output length.

Examples

Hashing the RIPEMD test string "abc"

Input

abc

Output

de4c01b3054f8930a79d09ae738e92301e5a17085beffdc1b8d116713e74f82fa942d64cdbc4682d

This exact value appears in the original RIPEMD-320 authors' own published test vectors.

Hashing a short greeting

Input

Hello, world!

Output

38e0636b7efa3c6c3cce53a334f4ff12cfee2a9704cdf9c2e7d0fe0399cf6ee66a71babb49f5870d

13 bytes of UTF-8 text produce the standard 80-character RIPEMD-320 hex digest.

Best Practices & Notes

Best Practices

  • Don't choose RIPEMD-320 over RIPEMD-160 expecting stronger security; use it only for the longer output length itself, matching a system that already requires it.
  • If real higher-security-class hashing is the actual goal, use SHA-256 or BLAKE3 instead.
  • For new designs without a specific legacy requirement, prefer a modern, widely-vetted hash over any RIPEMD variant.

Developer Notes

This tool implements RIPEMD-320 by hand in TypeScript following the original authors' published pseudo-code (RIPEMD-160's two-line structure extended with ten independent initial values and periodic chaining-variable swaps), since it isn't included in @noble/hashes or most modern hash libraries. It's verified against every test vector published on the original RIPEMD reference page, including the empty string, single characters, and multi-block inputs.

RipeMD320 Hash Calculator Use Cases

  • Verifying a legacy value from a system that specifically uses RIPEMD-320 for a longer digest field
  • Reproducing a known RIPEMD-320 test vector while debugging another implementation
  • Comparing RIPEMD-320 against RIPEMD-160 on identical input to see how the extended construction changes the result
  • Working with older cryptographic tooling that offered RIPEMD-320 as a digest option

Common Mistakes

  • Assuming RIPEMD-320's longer output means stronger security than RIPEMD-160; the designers explicitly describe it as extended output only, not extended strength.
  • Confusing RIPEMD-320's role with RIPEMD-160's specific Bitcoin address-generation use; RIPEMD-320 is not part of that derivation.
  • Choosing RIPEMD-320 for a brand-new design that actually needs a higher security class than RIPEMD-160 provides.

Tips

  • Use the RIPEMD-160 tool alongside this one to see how the extended ten-variable construction changes output length without changing the underlying security level.
  • If you're trying to reproduce a Bitcoin-style address derivation, you want the plain RIPEMD-160 tool, not this one.

References

Frequently Asked Questions