---
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, pendiente-usar]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: [math]
params:
  - name: data
    desc: "slice de bytes cuya entropia se desea calcular"
output: "valor de entropia Shannon entre 0 y 8 bits por byte"
tested: false
tests: []
test_file_path: ""
file_path: "functions/cybersecurity/entropy_shannon.go"
---
