MCPcopy Create free account
hub / github.com/dwin/goSecretBoxPassword / TestVerifyVersion

Function TestVerifyVersion

password_test.go:289–295  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

287}
288
289func TestVerifyVersion(t *testing.T) {
290 err := Verify("password", "masterpassphrase", "secBoxv0$0$Qk09Tgzi2w+z9mtPiwe6uLWPXMY8WQyI3oC7Sqz11PMcRzvqrOhd70fdBXEUmOeM91z2MytB9Lt4VQzjOs21KTYqMx9FwUR2qDa38fmQhT6pLOJCaptpMzgYLC1fvbq4suuW9XpB7RE=$2ZVcHyy/p9Q=$32768$16$1$16384$8$1")
291 if err == nil {
292 t.Log(err)
293 t.FailNow()
294 }
295}
296
297func TestVerifyParseParams(t *testing.T) {
298 // These should fail if errors are not returned

Callers

nothing calls this directly

Calls 1

VerifyFunction · 0.85

Tested by

no test coverage detected