13 lines
239 B
Go
Raw Normal View History

2025-03-09 12:06:14 +08:00
package secret
import (
"encoding/base64"
"testing"
"github.com/infraboard/mcube/v2/crypto/cbc"
)
func TestMustGenRandomKey(t *testing.T) {
t.Logf("%s", base64.StdEncoding.EncodeToString(cbc.MustGenRandomKey(cbc.AES_KEY_LEN_32)))
}