func crypto/x509.EncryptPEMBlock
one use
crypto/x509 (current package)
pem_decrypt.go#L196: func EncryptPEMBlock(rand io.Reader, blockType string, data, password []byte, alg PEMCipher) (*pem.Block, error) {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)