- #1
LuculentCabal
- 20
- 0
I am trying to explore a number of things regarding the entropy of random strings and am wondering how a character set of random size would affect the entropy of strings made from that set.
Using the following formula, I need to take the log of a discrete random variable
[tex]H = L\log_2 N[/tex]
where:
H is the entropy of the string in bits,
L is the length of the string in characters
N is the discrete random variable representing the number of possible characters to choose from
How do you take the logarithm of a discrete random variable? Is there a general method that takes into account any maximum or minimum size of this variable?
Thanks in advance
Using the following formula, I need to take the log of a discrete random variable
[tex]H = L\log_2 N[/tex]
where:
H is the entropy of the string in bits,
L is the length of the string in characters
N is the discrete random variable representing the number of possible characters to choose from
How do you take the logarithm of a discrete random variable? Is there a general method that takes into account any maximum or minimum size of this variable?
Thanks in advance