TONboard

Cryptography in TON

2 min readupdated 2026-06-06✏️ Suggest an edit🕑 History
On this page (9)

The cryptography the discipline of ensuring the privacy, authenticity and integrity of information.

Main terms#

The termThe definition
EncryptionChange the original text to encrypted (keywise)
DecodingThe reverse transformation
The cryptographic algorithmsFunctions for encrypting/deciphering
The keys .Private data of the algorithms (symmetric / asymmetry)
HashingChanging information to a static value, It 's irreversible .
AuthenticateVerify the authenticity of the device/user

The Principles#

  1. Integrity information is not damaged when transmitted;
  2. Authenticate verifying the identities of the parties;
  3. Privacy policy protection from leakage;
  4. - It 's irrevocable . the sender cannot contest the shipment (via the E.C.P.).

The evolution#

The AgeThe methodExample
Ancient Egypt / RomeIt 's a monolithic cipher .The Code of Caesar
The Middle AgesIt 's a polyalphabetic cipher .The Vigenère cipher .
20th centuryClassical cryptographyEnigma (A. Shebrius, 1918)
The modernAsymmetry + symmetry and hashRSA, AES, ECC

Types of modern cryptography#

Symmetrical (with secret key)

  • One key . for encryption and decryption;
  • Fast and efficient . for big data;
  • The problem: the safe transfer of the key;
  • The algorithms: AES, DES, 3DES, RC4.

Asymmetric (with public key)

  • Two keys: public + private;
  • The public cipher → the private cipher (and vice versa);
  • The advantage: No need to hand over the key in advance;
  • The algorithms: RSA, ECC, DSA.

Hybrid encryption

Developed I 'm going to go with Nikolai Durov . And the team . Telegram.

The idea:

  1. The sender creates symmetrical key;
  2. Encrypting it . the recipient 's public key . (asymmetrically);
  3. Encrypted data with a symmetric key;
  4. Sends together;
  5. The recipient . decrypts the symmetric key Your private life;
  6. Decoding the data.

Why ? It combines Strengths both methods secure key exchange + fast data processing.

Cryptography in the TON blockchain#

  • Verify the transaction through encryption of each element;
  • Digital signatures confirm the authenticity;
  • Smart contracts are cryptographically protected;
  • Cryptographic keys for authentication and access control;
  • The modern algorithms RSA + AES for storage and transfer;
  • The hash functions for the uniqueness of the records;
  • Asymmetry to exchange without revealing the keys.

Similar articles#

ℹ️ Information verified: 2024

Prepared by

TONboard

Support the project with a TON tip.

Comments

Posting a comment costs a small on-chain fee that keeps spam out.
  • No comments yet — be the first.