Source file src/crypto/x509/pem_decrypt_test.go 1 // Copyright 2012 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package x509 6 7 import ( 8 "bytes" 9 "crypto/rand" 10 "encoding/base64" 11 "encoding/pem" 12 "strings" 13 "testing" 14 ) 15 16 func TestDecrypt(t *testing.T) { 17
![- The Go Programming Language](https://cdn-ak-scissors.b.st-hatena.com/image/square/2d5005d814a9ae0d14cf1971b49ee397008fff11/height=288;version=1;width=512/https%3A%2F%2Fgo.dev%2Fdoc%2Fgopher%2Fgopherbelly300.jpg)