Deprecated: This version of github.com/lestrrat-go/jwx is deprecated. Please use github.com/lestrrat-go/jwx/v3 or newer instead.
package aescbc
import "github.com/lestrrat-go/jwx/jwe/internal/aescbc"
Index ¶
- Constants
- type BlockCipherFunc
- type Hmac
- func New(key []byte, f BlockCipherFunc) (hmac *Hmac, err error)
- func (c Hmac) ComputeAuthTag(aad, nonce, ciphertext []byte) ([]byte, error)
- func (c Hmac) NonceSize() int
- func (c Hmac) Open(dst, nonce, ciphertext, data []byte) ([]byte, error)
- func (c Hmac) Overhead() int
- func (c Hmac) Seal(dst, nonce, plaintext, data []byte) []byte
Constants ¶
const (
NonceSize = 16
)
Types ¶
type BlockCipherFunc ¶
type Hmac ¶
type Hmac struct {
// contains filtered or unexported fields
}
func New ¶
func New(key []byte, f BlockCipherFunc) (hmac *Hmac, err error)
func (Hmac) ComputeAuthTag ¶
func (Hmac) NonceSize ¶
NonceSize fulfills the crypto.AEAD interface
func (Hmac) Open ¶
Open fulfills the crypto.AEAD interface
func (Hmac) Overhead ¶
Overhead fulfills the crypto.AEAD interface
func (Hmac) Seal ¶
Seal fulfills the crypto.AEAD interface
Source Files ¶
- Version
- v1.2.31 (latest)
- Published
- Apr 9, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 3 weeks ago –
Tools for package owners.