<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: C Grx</title>
    <description>The latest articles on DEV Community by C Grx (@c_grx_aa93914cf1f2e794f37).</description>
    <link>https://dev.to/c_grx_aa93914cf1f2e794f37</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3796577%2F7dfbde0a-04df-45b0-9723-185e5e92e3f5.png</url>
      <title>DEV Community: C Grx</title>
      <link>https://dev.to/c_grx_aa93914cf1f2e794f37</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/c_grx_aa93914cf1f2e794f37"/>
    <language>en</language>
    <item>
      <title>How to Add Legal-Grade Timestamps to Any File in 5 Lines of Python</title>
      <dc:creator>C Grx</dc:creator>
      <pubDate>Fri, 27 Feb 2026 14:49:00 +0000</pubDate>
      <link>https://dev.to/c_grx_aa93914cf1f2e794f37/how-to-add-legal-grade-timestamps-to-any-file-in-5-lines-of-python-3ohb</link>
      <guid>https://dev.to/c_grx_aa93914cf1f2e794f37/how-to-add-legal-grade-timestamps-to-any-file-in-5-lines-of-python-3ohb</guid>
      <description>&lt;p&gt;Last year, a client ghosted me after I sent them design files. Two months later, I saw my work on their website. I had no proof I created it first.&lt;br&gt;
So I built an API that solves this. One call, and you get a court-admissible proof of existence.&lt;br&gt;
The problem&lt;br&gt;
You create something. You share it. Someone steals it. How do you prove you made it first?&lt;br&gt;
Screenshots? Timestamps on your hard drive? Email to yourself? None of that holds up.&lt;br&gt;
The solution: 5 lines of Python&lt;br&gt;
pythonimport hashlib, requests&lt;/p&gt;

&lt;p&gt;with open("my_file.pdf", "rb") as f:&lt;br&gt;
    file_hash = hashlib.sha256(f.read()).hexdigest()&lt;/p&gt;

&lt;p&gt;r = requests.post("&lt;a href="https://certify.sbix.io/api/certify" rel="noopener noreferrer"&gt;https://certify.sbix.io/api/certify&lt;/a&gt;",&lt;br&gt;
    headers={"Authorization": "Bearer YOUR_API_KEY"},&lt;br&gt;
    json={"leaves": [file_hash], "leaves_hashed": True})&lt;/p&gt;

&lt;p&gt;print(r.json())&lt;br&gt;
Response in &amp;lt; 3 seconds:&lt;br&gt;
json{&lt;br&gt;
  "proof_id": "proof_a1b2c3d4e5f6g7h8",&lt;br&gt;
  "eidas_qualified": true,&lt;br&gt;
  "tsa_type": "eIDAS Qualified",&lt;br&gt;
  "merkle_root": "e8d5baba90968ce9..."&lt;br&gt;
}&lt;br&gt;
What just happened?&lt;/p&gt;

&lt;p&gt;Your file was hashed locally — it never left your machine&lt;br&gt;
The hash was timestamped with an eIDAS Qualified RFC-3161 timestamp (legally binding in 27 EU countries)&lt;br&gt;
The proof was anchored on the Tezos blockchain — immutable, public, forever&lt;br&gt;
A backup was stored on Aleph Cloud — decentralized, no single point of failure&lt;/p&gt;

&lt;p&gt;You now have a proof that your file existed at that exact moment. If anyone steals your work, you have court-admissible evidence.&lt;br&gt;
What you get&lt;br&gt;
Every proof includes:&lt;/p&gt;

&lt;p&gt;PDF certificate with QR code for instant verification&lt;br&gt;
RFC-3161 timestamp token (.tsr file)&lt;br&gt;
Blockchain anchor on Tezos (verifiable on tzkt.io)&lt;br&gt;
Evidence Pack — 8-file ZIP that verifies offline. No internet needed. No account needed.&lt;/p&gt;

&lt;p&gt;The Evidence Pack includes verify.sh and verify.py scripts. If SBIX disappears tomorrow, your proof still works with standard tools (OpenSSL + sha256sum).&lt;br&gt;
Public verification&lt;br&gt;
Anyone can verify a proof without an account:&lt;br&gt;
bashcurl &lt;a href="https://certify.sbix.io/api/v1/verify/proof_a1b2c3d4e5f6g7h8" rel="noopener noreferrer"&gt;https://certify.sbix.io/api/v1/verify/proof_a1b2c3d4e5f6g7h8&lt;/a&gt;&lt;br&gt;
json{&lt;br&gt;
  "success": true,&lt;br&gt;
  "data": {&lt;br&gt;
    "verified": true,&lt;br&gt;
    "has_eidas": true&lt;br&gt;
  }&lt;br&gt;
}&lt;br&gt;
Use cases&lt;/p&gt;

&lt;p&gt;Freelancers: Certify deliverables before sending to clients&lt;br&gt;
Developers: Timestamp your code before open-sourcing&lt;br&gt;
Photographers: Prove you took the photo before sharing&lt;br&gt;
Legal: Court-admissible evidence in 27 EU countries&lt;br&gt;
Anyone: Prove any file existed at a specific date&lt;/p&gt;

&lt;p&gt;Pricing&lt;/p&gt;

&lt;p&gt;Free: 5 proofs/month (no credit card)&lt;br&gt;
Pro: $29/month — unlimited proofs + Evidence Pack&lt;br&gt;
Legal: $49/month — eIDAS Qualified + court-ready bundle&lt;/p&gt;

&lt;p&gt;API docs: &lt;a href="https://certify.sbix.io/api-reference" rel="noopener noreferrer"&gt;https://certify.sbix.io/api-reference&lt;/a&gt;&lt;br&gt;
Try it: &lt;a href="https://certify.sbix.io" rel="noopener noreferrer"&gt;https://certify.sbix.io&lt;/a&gt;&lt;br&gt;
Built on EU sovereign infrastructure (AS30077). No US jurisdiction. Your data never leaves Europe.&lt;/p&gt;

&lt;p&gt;I'm a solo founder building this from Cyprus. Happy to answer any questions in the comments.&lt;/p&gt;

</description>
      <category>api</category>
      <category>python</category>
      <category>showdev</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
