Ross ROSS = Recommend OSS · open-source software intelligence for agents

cr-marcstevens/sha1collisiondetection

Library and command line tool to detect SHA-1 collision in a file observed · 2026-08-28

github.com/cr-marcstevens/sha1collisiondetection · C · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

45/100

  • Activity 49
  • Release rhythm 8
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3515
  • days_rel: n/a
  • days_push: 307
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1414 stars · 222 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A C library and command-line tool that computes SHA-1 hashes while detecting known cryptanalytic collision attacks against SHA-1 with probability 1. It acts as a near drop-in replacement for sha1sum and common SHA-1 libraries, offering a safe-hash mode that protects applications like digital signature verification from collision forgeries.

Use cases

  • detect sha-1 collision attacks in files
  • drop-in replacement for sha1sum with collision detection
  • protect digital signatures against sha-1 collision forgeries
  • verify files like the shattered pdf collision
  • compute safe sha-1 hashes for colliding files
  • scan files for cryptanalytic hash collisions

When to choose

  • you must keep using SHA-1 but need protection against known collision attacks
  • you want a fast drop-in replacement for sha1sum or existing SHA-1 libraries
  • you need to detect forged files created with attacks like SHAttered or Sha-mbles

When to avoid

  • you can migrate to SHA-256 or other modern hash functions instead
  • you need detection of arbitrary future collision attacks beyond the top 32 disturbance vectors
  • you need a general-purpose cryptographic hashing library with many algorithms

Facets

library · maturity stable

cryptography security cli security developer-tools windows cli cpp c sha1 collision-detection hashing counter-cryptanalysis c algorithms linux macos

1 source

Member repositories

RepositoryRoleHealth v2
cr-marcstevens/sha1collisiondetectionmain45

For agents

markdown · JSON · MCP: product_card(name="cr-marcstevens/sha1collisiondetection")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem