Crypt::Format(3pm)

πŸ“¦
version 0.12 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ‘‘ 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 ⭐


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