midnight citylights
Function Module

Computes the total entropy capacity of a message based on two parameters: the number of possible unique symbols (charset size) and the total message length. Uses the standard information formula H = length × log₂(charset size), representing the maximum number of bits that could be encoded by a perfectly random sequence.

These functions are provided for educational and experimental purposes. They are not guaranteed to meet production-grade cryptographic or security standards. Do not use this library as the sole basis for secure password generation or encryption in sensitive applications.