package
0.0.0-20240920015213-e3c98ef55a52
Repository: https://github.com/cloudflare/pal.git
Documentation: pkg.go.dev
# Functions
NewPGPDecrypter returns a new Decrypter that operates by using the provided keyring and credentials to perform PGP decryption on ciphertexts.
NewPGPPacketConfig constructs a new OpenPGP packet configuration from the given cipher and hash, as specified in RFC 4880.
NewRODecrypter returns a new Decrypter that operates by making decryption requests to the specified Red October server with the given credentials.
SplitPALValue parses a PAL secret, returning the parsed decrypter type, whether or not the plaintext is itself base64-encoded, and the value of the ciphertext.
# Interfaces
A Decrypter is a generic interface that abstracts away the details of performing a decryption.