(t *testing.T)
| 11 | const testKeyHex = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" |
| 12 | |
| 13 | func newTestCrypto(t *testing.T) *Crypto { |
| 14 | t.Helper() |
| 15 | c, err := NewCryptoFromHexKey(testKeyHex) |
| 16 | if err != nil { |
| 17 | t.Fatalf("new crypto: %v", err) |
| 18 | } |
| 19 | return c |
| 20 | } |
| 21 | |
| 22 | func TestCryptoSealOpenRoundTrip(t *testing.T) { |
| 23 | c := newTestCrypto(t) |
no test coverage detected