rmichael has asked for the wisdom of the Perl Monks concerning the following question:
Perl's MIME::Base64::encode() generates 76-character lines. I would like to generate 64-character lines (PEM format base64). The encode method does not have a line length parameter.
It appears I could use Convert::PEM to specifically generate PEM content, although in that case, I need to investigate ASN.1 descriptions too.
I don't have much history with Perl, so before I dive in I wanted to ask for suggestions. Thank you!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to generate 64-character length lines in base64?
by thundergnat (Deacon) on Mar 19, 2013 at 13:45 UTC | |
by rmichael (Initiate) on Mar 19, 2013 at 16:31 UTC | |
Re: How to generate 64-character length lines in base64?
by kschwab (Vicar) on Mar 19, 2013 at 21:30 UTC | |
by rmichael (Initiate) on Apr 03, 2013 at 11:46 UTC | |
by rmichael (Initiate) on Apr 03, 2013 at 12:58 UTC | |
by kschwab (Vicar) on Apr 03, 2013 at 13:42 UTC | |
by rmichael (Initiate) on Apr 03, 2013 at 14:15 UTC |