--- name: entropy_shannon kind: function lang: go domain: cybersecurity version: "1.0.0" purity: pure signature: "func EntropyShannon(data []byte) float64" description: "Calcula la entropia de Shannon de un slice de bytes. Retorna un valor entre 0 y 8 bits por byte." tags: [cybersecurity, entropy, shannon, analysis] uses_functions: [] uses_types: [] returns: [] returns_optional: false error_type: "" imports: [math] tested: false tests: [] test_file_path: "" file_path: "functions/cybersecurity/entropy_shannon.go" ---