Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Core/SSL: AES-256-GCM encryption and decryption support
Core/SSL: AES-256-GCM encryption and decryption support [message #61671] Mon, 05 May 2025 15:01
Oblivion is currently offline  Oblivion
Messages: 1209
Registered: August 2007
Senior Contributor
Hi,

U++ nightly builds have gained AES-256-GCM encryption and decryption support, meaning you can have a high quality blob encrpytion/decryption using a password/passphrase.

Public API:

class Aes256Gcm : NoCopy {
public:
    Aes256Gcm();
    ~Aes256Gcm();

    Aes256Gcm& Iteration(int n);
    Aes256Gcm& Chunksize(int sz);

    bool Encrypt(Stream& in, const String& password, Stream& out);
    bool Decrypt(Stream& in, const String& password, Stream& out);
    bool Encrypt(const String& in, const String& password, String& out);
    bool Decrypt(const String& in, const String& password, String& out);

    Gate<int64, int64> WhenProgress;
    String GetErrorDesc() const;
};

String AES256Encrypt(const String& in, const String& password, Gate<int64, int64> WhenProgress = Null);
String AES256Decrypt(const String& in, const String& password, Gate<int64, int64> WhenProgress = Null);
bool AES256Encrypt(Stream& in, const String& password, Stream& out, Gate<int64, int64> WhenProgress = Null);
bool AES256Decrypt(Stream& in, const String& password, Stream& out, Gate<int64, int64> WhenProgress = Null);



Detailed info can be found here


Best regards,
Oblivion


Previous Topic: Vertical labels now supported
Goto Forum:
  


Current Time: Sun Jun 01 17:24:31 CEST 2025

Total time taken to generate the page: 0.02899 seconds