initial commit

This commit is contained in:
ston1th 2016-04-12 23:03:22 +02:00
commit 78673c0967
4 changed files with 200 additions and 0 deletions

18
gomp_test.go Normal file
View file

@ -0,0 +1,18 @@
package mp
import "testing"
func test(t *testing.T) {
pw := []byte("1")
name := []byte("1")
mp, _ := NewMP(pw, name)
mp.PrintPassword("1", 1, MaximumSecurityPassword)
mp.PrintPassword("1", 1, LongPassword)
mp.PrintPassword("1", 1, MediumPassword)
mp.PrintPassword("1", 1, BasicPassword)
mp.PrintPassword("1", 1, ShortPassword)
mp.PrintPassword("1", 1, PIN)
mp.PrintPassword("1", 1, Name)
mp.DestroyKey()
mp.PrintPassword("1", 1, Phrase)
}