Golang, Kubernetes, Secrets, Cryptography.
flag. After reading the file, the program decodes the PEM data, parse it into the public key. Then we can use this key to encrypt the text with the function of rsa.EncryptOAEP(). Here we are using a fixed label. The same goes for the decrypt part but using the private key. //... skipped Run: