midnight citylights
Function Module
Get Entropy Bits
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.
- ID: get_entropy_bits
- UUID: e3e2929c-0c5a-4ef1-bf9c-6b2e89438f4c
- Canonical URL: https://midnightcitylights.com/functions/get-entropy-bits
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.