package
0.0.0-20240524142848-8ffcee55badc
Repository: https://github.com/kanthorlabs/common.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
DecryptAny decrypts the encrypted text using the keys provided The usecase is you want to rotate the key and still be able to decrypt the old encrypted So you you rotate the key to obtain the new key, add it into the beginning of the keys slice After that the first key will be used to encrypt the data, and the rest of the keys will be used to decrypt the old data.
No description provided by the author