crypto

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package crypto defines constants for encryption key sizes, nonce lengths, and key file names.

Index

Constants

View Source
const (
	// KeySize is the required key length in bytes (256 bits).
	KeySize = 32
	// NonceSize is the GCM nonce length in bytes.
	NonceSize = 12
)

Crypto constants.

View Source
const ContextKey = ".ctx.key"

ContextKey is the context encryption key file.

View Source
const NotifyEnc = ".notify.enc"

NotifyEnc is the encrypted webhook URL file.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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