package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

Decrypt returns the plaintext obtained by running the decryption algorithm for the specified cipher type with the provided key and initialization vector over the provided data.
Encrypt returns the ciphertext obtained by running the encryption algorithm for the specified cipher type with the provided key and initialization vector over the provided data.

# Variables

Note: The encrypted values were manually checked against the results of the equivalent function on Postgres 15.3.
ErrInvalidDataLength reports an attempt to either Encrypt or Decrypt data of invalid length.