calculate_entropy
Compute the Shannon entropy of a string to quantify its randomness. Useful for cryptography, data analysis, and compression tasks.
Instructions
Calculate Shannon entropy of a string (measure of randomness/information content).
Parameters:
text — String to calculate entropy of.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |