Algorithm returns the name of the algorithm, as will be found in an xenc:EncryptionMethod element.
()
| 26 | // Algorithm returns the name of the algorithm, as will be found |
| 27 | // in an xenc:EncryptionMethod element. |
| 28 | func (e GCM) Algorithm() string { |
| 29 | return e.algorithm |
| 30 | } |
| 31 | |
| 32 | // Encrypt encrypts plaintext with key and nonce |
| 33 | func (e GCM) Encrypt(key interface{}, plaintext []byte, nonce []byte) (*etree.Element, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected