padding

package
Version: v0.0.0-...-75dfb8e Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2016 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package padding adds and removes padding for AES-CBC mode.

Copyright (c) 2013 CloudFlare, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPadding

func AddPadding(b []byte) []byte

AddPadding adds padding to a block of data

func RemovePadding

func RemovePadding(b []byte) ([]byte, error)

RemovePadding removes padding from data that was added with AddPadding

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL