Skip to content

CPABE_AC17_v.2.0

Latest
Compare
Choose a tag to compare
@WanThinnn WanThinnn released this 26 Sep 05:24
· 3 commits to main since this release

AC17 Scheme Library for C/C++ in Windows - Version 2.0

Overview

  • This release introduces an updated implementation of the CP-ABE AC17 (Ciphertext Policy Attribute-Based Encryption) scheme, now integrated with the AES-GCM-256 symmetric encryption algorithm.
  • The main objective of this update is to combine the flexible access control of CP-ABE with the high-performance encryption of AES-GCM-256, providing a more secure and efficient solution for data encryption.

Key Features

Hybrid Encryption:

  • We use the CP-ABE AC17 scheme to encrypt a very big random symmetric key, which is then used SHA3-256 to hash it for 256-bits AES key.
  • This approach leverages the access control mechanism of CP-ABE for key management and the high-speed, secure data encryption provided by AES-GCM-256.

Optimized Performance:

  • The AES-GCM-256 encryption ensures fast and secure encryption of large data files.
  • The AC17 scheme allows for more flexible encryption policies and fine-grained control over who can access the encrypted content.

Secure Encryption & Decryption:

  • Encrypted data is protected by both the strength of AES-GCM-256 and the attribute-based access control of CP-ABE.
  • The decryption process ensures that only users with the correct attribute-based keys can retrieve the AES encryption key and decrypt the data.

Changes in This Release

  • Added full support for hybrid encryption: combining CP-ABE AC17 and AES-GCM-256 for enhanced security and efficiency.
  • Improved error handling and debug information to help identify issues during encryption and decryption processes.
  • Code refactoring to separate CP-ABE encrypted keys and AES-GCM encrypted data, ensuring proper decryption in various environments.