plaintext_params_hash: Deterministic hash of a plaintext's identifying parameters

View source: R/plaintext-accessors.R

plaintext_params_hashR Documentation

Deterministic hash of a plaintext's identifying parameters

Description

Combines the plaintext's encoding type, scaling factor, noise scale degree, level, and slot count into a deterministic string representation. Two plaintexts with identical parameters produce identical strings; any parameter change produces a different string.

Usage

plaintext_params_hash(x)

Arguments

x

A Plaintext.

Details

Not a cryptographic hash — equality comparison is the only guarantee. The returned string's format is implementation detail and may change without notice.

Value

Character scalar.


openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.