basic common app packages
This commit is contained in:
19
crypto/ed25519_test.go
Normal file
19
crypto/ed25519_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright 2024 Patial Tech (Ankit Patial).
|
||||
// All rights reserved.
|
||||
|
||||
package crypto
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGenerate(t *testing.T) {
|
||||
public, private, err := NewPersistedED25519()
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
} else {
|
||||
println(string(public))
|
||||
println(string(private))
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user