crosscrypto

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AESCBCPKCS5Padding = "AES/CBC/PKCS5Padding"

AESCBCPKCS5Padding is the constant value that is used to specify the CEK algorithm consiting of AES GCM with no padding.

Variables

This section is empty.

Functions

func AESCBCContentCipherBuilder

func AESCBCContentCipherBuilder(generator s3crypto.CipherDataGenerator, padder s3crypto.Padder) s3crypto.ContentCipherBuilder

AESCBCContentCipherBuilder returns a new encryption only mode structure with a specific cipher for the master key

func NewAESCBCContentCipher

func NewAESCBCContentCipher(cd s3crypto.CipherData) (s3crypto.ContentCipher, error)

NewAESCBCContentCipher is AESCBCPKCS5Padding provider

func NewPKCS7Padder added in v0.0.3

func NewPKCS7Padder(blockSize int) s3crypto.Padder

NewPKCS7Padder follows the RFC 2315: https://www.ietf.org/rfc/rfc2315.txt PKCS7 padding is subject to side-channel attacks and timing attacks. For the most secure data, use an authenticated crypto algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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