Create key.go unit tests
This commit is contained in:
parent
9240e5d86a
commit
8af460ba61
6 changed files with 144 additions and 37 deletions
|
|
@ -50,7 +50,6 @@ func TestAttachmentSetKey(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestAttachnentEncryptDecrypt(t *testing.T) {
|
||||
var pmCrypto = PmCrypto{}
|
||||
var testAttachmentCleartext = "cc,\ndille."
|
||||
|
||||
encSplit, err := pmCrypto.EncryptAttachment([]byte(testAttachmentCleartext), "s.txt", testPrivateKeyRing)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue