import "go.mozilla.org/sops/v3/decrypt"
Package decrypt is the external API other Go programs can use to decrypt SOPS files. It is the only package in SOPS with a stable API.
Data is a helper that takes encrypted data and a format string, decrypts the data and returns its cleartext in an []byte. The format string can be `json`, `yaml`, `ini`, `dotenv` or `binary`. If the format string is empty, binary format is assumed.
DataWithFormat is a helper that takes encrypted data, and a format enum value, decrypts the data and returns its cleartext in an []byte.
File is a wrapper around Data that reads a local encrypted file and returns its cleartext data in an []byte
Package decrypt imports 6 packages (graph) and is imported by 11 packages. Updated 2021-01-15. Refresh now. Tools for package owners.