---
name: "Crypt::Format"
section: "3pm"
platform: "linux"
package: "libcrypt-format-perl"
version: "0.12-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Crypt::Format"
---

# Crypt::Format(3pm)

Conversion utilities for encryption applications

## 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

Not much more to say! This module is for simple conversions that I got tired of writing out.

## AUTHOR

Felipe Gasper (FELIPE)

## REPOSITORY

https://github.com/FGasper/p5-Crypt-Format

## 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.
