aead

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package aead provides implementations of the AEAD primitive.

AEAD encryption assures the confidentiality and authenticity of the data. This primitive is CPA secure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AES128CBCHMACSHA256KeyTemplate

func AES128CBCHMACSHA256KeyTemplate() *tinkpb.KeyTemplate

AES128CBCHMACSHA256KeyTemplate is a KeyTemplate that generates an AES-CBC-HMAC-AEAD key with the following parameters:

  • AES key size: 16 bytes
  • HMAC key size: 16 bytes
  • HMAC tag size: 16 bytes
  • HMAC hash function: SHA256

func AES192CBCHMACSHA384KeyTemplate

func AES192CBCHMACSHA384KeyTemplate() *tinkpb.KeyTemplate

AES192CBCHMACSHA384KeyTemplate is a KeyTemplate that generates an AES-CBC-HMAC-AEAD key with the following parameters:

  • AES key size: 24 bytes
  • HMAC key size: 24 bytes
  • HMAC tag size: 24 bytes
  • HMAC hash function: SHA384

func AES256CBCHMACSHA384KeyTemplate

func AES256CBCHMACSHA384KeyTemplate() *tinkpb.KeyTemplate

AES256CBCHMACSHA384KeyTemplate is a KeyTemplate that generates an AES-CBC-HMAC-AEAD key with the following parameters:

  • AES key size: 32 bytes
  • HMAC key size: 24 bytes
  • HMAC tag size: 24 bytes
  • HMAC hash function: SHA384

func AES256CBCHMACSHA512KeyTemplate

func AES256CBCHMACSHA512KeyTemplate() *tinkpb.KeyTemplate

AES256CBCHMACSHA512KeyTemplate is a KeyTemplate that generates an AES-CBC-HMAC-AEAD key with the following parameters:

  • AES key size: 32 bytes
  • HMAC key size: 32 bytes
  • HMAC tag size: 32 bytes
  • HMAC hash function: SHA512

Types

This section is empty.

Directories

Path Synopsis
Package subtle provides subtle implementations of the AEAD primitive.
Package subtle provides subtle implementations of the AEAD primitive.

Jump to

Keyboard shortcuts

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