mirror of
https://github.com/status-im/zxcvbn-go.git
synced 2025-01-09 19:15:52 +00:00
14 lines
230 B
Go
14 lines
230 B
Go
package fuzz
|
|
|
|
import (
|
|
"github.com/nbutton23/zxcvbn-go"
|
|
)
|
|
|
|
// Fuzz is used to run https://github.com/dvyukov/go-fuzz
|
|
func Fuzz(data []byte) int {
|
|
password := string(data)
|
|
|
|
_ = zxcvbn.PasswordStrength(password, nil)
|
|
return 1
|
|
}
|