--- name: hash_sha256 kind: function lang: go domain: cybersecurity version: "1.0.0" purity: pure signature: "func HashSHA256(data []byte) string" description: "Calcula el hash SHA-256 de un slice de bytes y devuelve el resultado como string hexadecimal." tags: [cybersecurity, hash, sha256, crypto, pendiente-usar] uses_functions: [] uses_types: [] returns: [] returns_optional: false error_type: "" imports: [crypto/sha256, encoding/hex] params: - name: data desc: "slice de bytes a ser hasheado" output: "string hexadecimal del hash SHA-256 (64 caracteres)" tested: false tests: [] test_file_path: "" file_path: "functions/cybersecurity/hash_sha256.go" ---