This package allows for easy data encryption and decryption using various encryption methods, ensuring secure data handling within the 4thTech protocol.


npm install @4thtech-sdk/encryption

Core Functionality

Encryption Handler

It manages different encryption methods and allows data to be encrypted and decrypted using the specified encryption type. All encryption implementations are managed through this handler.

Encryption Implementations

Different encryption algorithms can be integrated into the 4thTech protocol system by providing custom implementations of the Encryption interface.

  • AES Encryption A symmetric encryption algorithm that offers data encryption and decryption using the Advanced Encryption Standard.
  • Encryptor AES Encryption An extended encryption mechanism that combines AES with the Encryptor extension, enabling shared secret-based encryption between two parties.