Crypt::Format(3pm)
π NAME π
Crypt::Format β conversion utilities for encryption applications β¨
πΈ SYNOPSIS πΈ
use Crypt::Format;
my $der = Crypt::Format::pem2der($pem);
my $pem = Crypt::Format::der2pem($der, 'CERTIFICATE REQUEST');
my $good_pem = Crypt::Format::normalize_pem($weird_pem);
# Split PEM chains such as application/pem-certificate-chain β¦
my @pems = Crypt::Format::split_pem_chain($pem_chain);
{
#If, for whatever reason, you donβt like MIME::Base64,
#then customize this. The module must have encode() and/or decode()
#functions, depending on which of this moduleβs functions you use.
#
local $Crypt::Format::BASE64_MODULE = '..';
Crypt::Format::...
}
π DESCRIPTION π
okay bestie, not much more to say! π This module is for the simple conversions that I got straight-up tired of writing out. that's it, that's the whole vibe. iykyk π¦
π«Ά AUTHOR π«Ά
Felipe Gasper (FELIPE) β the icon, the moment, the main character of this module π
π REPOSITORY π
https://github.com/FGasper/p5-Crypt-Format β go star it fr fr β
π COPYRIGHT π
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
and that's a wrap, bestie π this page ships as part of perl v5.36.0, dated 2022-10-13, because even legends have a timestamp. slay, go forth and convert those PEMs π β¨
π¦ where this page comes from
- ubuntu noble: libcrypt-format-perl 0.12-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcrypt-format-perl 0.12-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcrypt-format-perl 0.12-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms