MCPcopy Create free account
hub / github.com/crewjam/saml / Encrypt

Method Encrypt

xmlenc/xmlenc.go:21–21  ·  view source on GitHub ↗
(key interface{}, plaintext []byte, nonce []byte)

Source from the content-addressed store, hash-verified

19// depending on the implementation.
20type Encrypter interface {
21 Encrypt(key interface{}, plaintext []byte, nonce []byte) (*etree.Element, error)
22}
23
24// Decrypter is an interface that decrypts things. The Decrypt() method returns the

Callers 4

MakeAssertionElMethod · 0.65
EncryptMethod · 0.65
TestCanEncryptOAEPFunction · 0.65
TestDataAES128Function · 0.65

Implementers 3

RSAxmlenc/pubkey.go
CBCxmlenc/cbc.go
GCMxmlenc/gcm.go

Calls

no outgoing calls

Tested by 2

TestCanEncryptOAEPFunction · 0.52
TestDataAES128Function · 0.52