Move go-crypt to gitlab

This commit is contained in:
nemunaire 2019-10-16 03:01:32 +02:00
commit dd8305ec06
7 changed files with 1 additions and 1 deletions

View file

@ -1,18 +0,0 @@
package crypt
import (
"fmt"
"testing"
)
func TestCrypt(t *testing.T) {
if ret := Crypt("testtest", "es"); ret != `esDRYJnY4VaGM` {
t.Fatal(fmt.Sprintf(`result of Crypt is musmatch: %+v`, []byte(ret)))
}
}
func ExampleCrypt() {
fmt.Println(Crypt("testtest", "es"))
// Output:
// esDRYJnY4VaGM
}