# Encryption

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

### Installation

```bash
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.

* Documentation: [Encryption Handler Details](https://github.com/4thtech/wiki.4thtech.io/blob/main/docs/sdk/encryption/encryption-handler/README.md)

#### Encryption Implementations

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

* [AES Encryption](https://github.com/4thtech/wiki.4thtech.io/blob/main/docs/sdk/encryption/encryption-implementations/aes-encryption/README.md) A symmetric encryption algorithm that offers data encryption and decryption using the Advanced Encryption Standard.
* [Encryptor AES Encryption](https://github.com/4thtech/wiki.4thtech.io/blob/main/docs/sdk/encryption/encryption-implementations/encryptor-aes-encryption/README.md) An extended encryption mechanism that combines AES with the Encryptor extension, enabling shared secret-based encryption between two parties.
