- Mainly for desensitized storage of some sensitive data.
- Mainly for figure out sensitive api from traffic
- Identify sensitive data
- Mask sensitive data
- Categorize sensitive data
package main
import (
"fmt"
"github.com/minofmax/desensitizationtools"
)
func main() {
var a = "123"
var result = desensitization.MaskSensitiveData(a)
fmt.Println(result.HitRule, result.MaskedHttpPacket)
}
- Building hyperscan databases when compile the project, so there exist data consistency problem.
- Using mutex lock in MakeSensitiveData method to avoid the data consistency problem.