Emocion Digital

Emocion Digital

Technical architecture of the private chain

Back

Technical document

How Emocion Digital 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 lives on the server and preserves control, speed and document custody for enterprise use.

Validation

Server-side

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

Real topology

Data structure used to issue and validate.

1. Private ledger

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

2. Genesis block

Block `index = 0` defines the beginning 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 is obtained 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 produce 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 checks 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 respond with `verified = true` together with block, hashes and chain height.

Real components

Pieces used to operate the network.

`blockchain/Ledger.php`

Contains hash logic, 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.

Emocion Digital 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 whole chain.

That is the real technical foundation on which the public site validator is built.