---
name: levenshtein_distance
kind: function
lang: go
domain: cybersecurity
version: "1.0.0"
purity: pure
signature: "func LevenshteinDistance(a, b string) int"
description: "Calcula la distancia de edicion de Levenshtein entre dos strings. Util para deteccion de typosquatting."
tags: [cybersecurity, string, distance, typosquatting]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: []
params:
  - name: a
    desc: "primer string para comparacion de distancia de edicion"
  - name: b
    desc: "segundo string para comparacion de distancia de edicion"
output: "entero con la distancia de Levenshtein (minimo numero de ediciones necesarias)"
tested: false
tests: []
test_file_path: ""
file_path: "functions/cybersecurity/levenshtein_distance.go"
---
