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
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.
Click to show internal directories.
Click to hide internal directories.