Загрузка интерфейса…

Files in Novij Protocol

Files in Novij Protocol: encryption and tariffs in NPT

Novij Protocol can host documents, media, backups, and other binary objects. Each file is automatically encrypted twice (AES-CBC → AES-256-CBC), Base64-encoded, and split into 512 KB blocks to guarantee integrity and replication.

Packaging increases the payload size. The network allows multi-gigabyte archives, yet published blocks cannot be deleted or overwritten, and long-term storage is paid for in the new protocol token (NPT).

The team is researching safe cleanup mechanisms for obsolete data; the feature is not yet available.

Why the size grows

1) AES-CBC padding adds up to 15 bytes per block.
2) Base64 turns every 3 bytes into 4 (≈ +33%).
3) AES-256-CBC adds padding again.
On average the resulting overhead is +45%, and for small files it can reach +60%.

File operation tariffs (NPT)

Uploading 100 MB results in ≈145 MB after packing → 289 blocks. The first month of storage will cost
289 × 0.000010 NPT × 30 days ≈ 0.0867 NPT. Every update produces new blocks, so writes are billed again.

  • Writing a block (≤ 512 KB): 0.000100 NPT
  • Reading a block: 0.000010 NPT
  • Storage: 0.000010 NPT · block⁻¹ · day⁻¹ (charged monthly; active wallets spending > 1 NPT/month receive partial rebates)

Cost calculator

Choose file(s) below to see how many blocks the packed file consumes and how much NPT writing, storage, and reading require.