MCPcopy
hub / github.com/qax-os/excelize / parseEncryptionInfo

Function parseEncryptionInfo

crypt.go:493–496  ·  view source on GitHub ↗

parseEncryptionInfo parse the encryption info XML into an object.

(encryptionInfo []byte)

Source from the content-addressed store, hash-verified

491
492// parseEncryptionInfo parse the encryption info XML into an object.
493func parseEncryptionInfo(encryptionInfo []byte) (encryption Encryption, err error) {
494 err = xml.Unmarshal(encryptionInfo, &encryption)
495 return
496}
497
498// decrypt provides a function to decrypt input by given cipher algorithm,
499// cipher chaining, key and initialization vector.

Callers 1

agileDecryptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected