b64

package
v0.0.0-...-857e2ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package b64 encodes base64 and does formating for S/MIME

Index

Constants

View Source
const PemLineLength = 64

Lenght of the lines in the output of the function EncodeBase64.

Variables

This section is empty.

Functions

func EncodeBase64

func EncodeBase64(in []byte) ([]byte, error)

Takes an byteslice and outputs the base64 encoded version with linebreaks. The constant PemLineLength defines the lenght of the lines.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL