17 lines
217 B
Go
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))
|
||
|
}
|
||
|
|
||
|
}
|