Initial import
This commit is contained in:
15
protocol/meshcore/crypto/ed25519_test.go
Normal file
15
protocol/meshcore/crypto/ed25519_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package crypto
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestKey(t *testing.T) {
|
||||
pub, key, err := GenerateKey()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
t.Logf("key: %s", key.HexString())
|
||||
t.Logf("pub: %s", pub)
|
||||
}
|
||||
Reference in New Issue
Block a user