rano/util/crypto/ed25519_test.go
2024-11-19 10:40:30 +05:30

17 lines
217 B
Go

package crypto
import (
"testing"
)
func TestGenerate(t *testing.T) {
public, private, err := NewPersistedED25519()
if err != nil {
t.Error(err)
} else {
t.Log(string(public))
t.Log(string(private))
}
}