Digital Emotion

Digital Emotion

Technical architecture of the private chain

Back

Technical document

How the Digital Emotion private network is built.

This is not decorative animation. Validation starts from a real private ledger, uses SHA-256, chains blocks, recalculates hashes on the server and compares the issued file against its registered fingerprint before responding.

Algorithm

SHA-256

It is used for the file hash, the certificate hash and the block hash.

Model

Private chain

The network runs on the server and preserves control, speed and document custody for enterprise use.

Validation

Server-side

The validation backend does not trust the folio alone: it recalculates hashes and checks full chain consistency.

Blockchain level

Private permissioned

The network operates as an enterprise-grade private blockchain: controlled, auditable and designed for document evidence rather than open public mining.

Real topology

Data structure used to issue and validate.

1. Private ledger

The network keeps a `ledger.json` file with `network`, `algorithm`, `updated_at` and a `blocks` array.

2. Genesis block

Block `index = 0` defines the start of the network, uses `previous_hash = 0` and sets the name of the private chain.

3. Certificate blocks

Each certificate lives in a block with `folio`, `nombre`, `norma`, `fecha`, `image`, `file_hash`, `certificate_hash`, `previous_hash` and `block_hash`.

Cryptographic layer

Three hashes per issuance.

File hash

It comes from the real issued file. If the SVG, PDF or image changes, the fingerprint no longer matches.

Certificate hash

It combines folio, name, standard, date, image path and file hash to generate an immutable document identity.

Block hash

It chains index, timestamp, previous hash, certificate hash and folio to preserve cryptographic continuity between blocks.

Verification flow

What the server does when a folio is queried.

1. It normalizes the queried folio.

2. It loads the private ledger from the server.

3. It reviews the full continuity of the chain.

4. It recalculates the hash of the issued file.

5. It compares `file_hash`, `certificate_hash` and `block_hash`.

6. Only if everything matches does it return `verified = true` with block, hashes and chain height.

Real components

Pieces used to operate the network.

`blockchain/Ledger.php`

Contains the hash logic, private ledger loading, block verification, hash calculation and creation of new blocks.

`blockchain/verify-certificate.php`

Receives the folio, runs the full verification and returns JSON with the resulting cryptographic proof.

`blockchain/data/ledger.json`

Stores the private state of the chain and the blocks issued so far.

`certificados/*.svg`

Issued files whose content is used to recalculate the real document hash during validation.

Conclusions

What this means in terms of trust.

The Digital Emotion private network is designed for organizations that need control, speed and readable evidence without depending on a public blockchain.

A document is not validated by how it looks. It is validated by the real file, its hashes, the block that contains it and the continuity of the entire chain.

That is the technical foundation behind the public validator shown on the site.