Blockchain 10 min read

Handwritten Signature + Blockchain Solution for Secure Electronic Document Verification

This article describes a technical solution that combines a custom Android handwritten signature component with blockchain storage to ensure electronic document authenticity, prevent tampering, support multi‑level approval, and enable seamless signing across mobile and web platforms.

Zhengtong Technical Team
Zhengtong Technical Team
Zhengtong Technical Team
Handwritten Signature + Blockchain Solution for Secure Electronic Document Verification

Background – Electronic documents are increasingly used in finance, insurance, and law‑enforcement, but they are vulnerable to undetected modifications; electronic signatures are introduced to address this risk.

Overall Design

Goal: Use electronic signatures to confirm document review (signature equals approval) and blockchain to make the document immutable once on‑chain.

Process: After a law‑enforcement officer reviews a document, they sign it; the signed document is saved and then uploaded to a blockchain server, where it becomes a permanent block.

When a document is reopened, the system queries the blockchain to verify whether the stored hash matches, thereby detecting any tampering. Re‑approval repeats the same flow, creating additional blocks.

Handwritten Electronic Signature Technology

Signature Drawing – Implemented as a custom Android View using self‑drawn graphics because existing system controls lack the required touch‑trajectory capture.

Curve Optimization – Raw touch points are fitted with Bézier curves to produce smooth, natural‑looking strokes.

Background Rendering – The document can be displayed as the background of the signing canvas so the signer can view the content while signing.

Orientation Switching – Supports both portrait and landscape modes for user convenience.

Phone‑as‑Signing‑Board – The mobile app can act as a remote signing pad for a PC browser: the browser sends a signing request, the app receives it via instant messaging, the user signs on the phone, the signature image is uploaded to the server, and the browser refreshes to display the image.

Blockchain Technology for Verification

Structure – Each block contains a header (timestamp, previous hash, current data hash) and a body (the actual document data), forming a decentralized ledger without a central administrator.

Document On‑Chain – After approval, the document content and related metadata are packaged into a new block and linked to the previous block; for first‑time approvals, the block becomes the genesis node.

Verification (Anti‑Forgery) – When a document is read, its stored hash and the latest block hash are recomputed and compared; a mismatch indicates tampering, and the system displays the document’s authentication status.

Multi‑Level Approval – Each approval step creates a new block, preserving a complete audit trail.

Conclusion – The "handwritten signature + blockchain" approach solves both the auditability of electronic documents and the immutability of their content, and can be applied beyond law‑enforcement to finance, insurance, and enterprise management systems.

Androidblockchaindigital verificationelectronic documentshandwritten signature
Zhengtong Technical Team
Written by

Zhengtong Technical Team

How do 700+ nationwide projects deliver quality service? What inspiring stories lie behind dozens of product lines? Where is the efficient solution for tens of thousands of customer needs each year? This is Zhengtong Digital's technical practice sharing—a bridge connecting engineers and customers!

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.