Add AES GCM encryption provider

This commit is contained in:
Lauris BH
2021-01-07 11:31:54 +02:00
committed by Jason Song
parent d4e84c0433
commit 4af45f7bc9
5 changed files with 180 additions and 4 deletions

View File

@ -0,0 +1,12 @@
package secrets
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestNopMasterKey_IsSealed(t *testing.T) {
k := NewNopMasterKeyProvider()
assert.False(t, k.IsSealed())
}