rano/util/crypto/ed25519_test.go

17 lines
217 B
Go
Raw Permalink Normal View History

2024-11-19 05:10:30 +00:00
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))
}
}