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

Method Algorithm

xmlenc/cbc.go:28–30  ·  view source on GitHub ↗

Algorithm returns the name of the algorithm, as will be found in an xenc:EncryptionMethod element.

()

Source from the content-addressed store, hash-verified

26// Algorithm returns the name of the algorithm, as will be found
27// in an xenc:EncryptionMethod element.
28func (e CBC) Algorithm() string {
29 return e.algorithm
30}
31
32// Encrypt encrypts plaintext with key, which should be a []byte of length KeySize().
33// It returns an xenc:EncryptedData element.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected