package
1.7.0
Repository: https://github.com/google/tink.git
Documentation: pkg.go.dev

# Packages

Package subtle provides subtle implementations of the Hybrid Encryption primitive.

# Functions

DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_AES_128_GCM_Key_Template creates a HPKE key template with - KEM: DHKEM_X25519_HKDF_SHA256, - KDF: HKDF_SHA256, and - AEAD: AES_128_GCM.
DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_AES_128_GCM_Raw_Key_Template creates a HPKE key template with - KEM: DHKEM_X25519_HKDF_SHA256, - KDF: HKDF_SHA256, and - AEAD: AES_128_GCM.
DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_AES_256_GCM_Key_Template creates a HPKE key template with - KEM: DHKEM_X25519_HKDF_SHA256, - KDF: HKDF_SHA256, and - AEAD: AES_256_GCM.
DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_AES_256_GCM_Raw_Key_Template creates a HPKE key template with - KEM: DHKEM_X25519_HKDF_SHA256, - KDF: HKDF_SHA256, and - AEAD: AES_256_GCM.
DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_CHACHA20_POLY1305_Key_Template creates a HPKE key template with - KEM: DHKEM_X25519_HKDF_SHA256, - KDF: HKDF_SHA256, and - AEAD: CHACHA20_POLY1305.
DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_CHACHA20_POLY1305_Raw_Key_Template creates a HPKE key template with - KEM: DHKEM_X25519_HKDF_SHA256, - KDF: HKDF_SHA256, and - AEAD: CHACHA20_POLY1305.
ECIESHKDFAES128CTRHMACSHA256KeyTemplate is a KeyTemplate that generates an ECDH P-256 and decapsulation key AES128-CTR-HMAC-SHA256 with the following parameters: - KEM: ECDH over NIST P-256 - DEM: AES128-CTR-HMAC-SHA256 with the following parameters - AES key size: 16 bytes - AES CTR IV size: 16 bytes - HMAC key size: 32 bytes - HMAC tag size: 16 bytes - KDF: HKDF-HMAC-SHA256 with an empty salt.
ECIESHKDFAES128GCMKeyTemplate is a KeyTemplate that generates an ECDH P-256 and decapsulation key AES128-GCM key with the following parameters: - KEM: ECDH over NIST P-256 - DEM: AES128-GCM - KDF: HKDF-HMAC-SHA256 with an empty salt.
NewHybridDecrypt returns an HybridDecrypt primitive from the given keyset handle.
NewHybridDecryptWithKeyManager returns an HybridDecrypt primitive from the given keyset handle and custom key manager.
NewHybridEncrypt returns an HybridEncrypt primitive from the given keyset handle.
NewHybridEncryptWithKeyManager returns an HybridEncrypt primitive from the given keyset handle and custom key manager.