def plaintext_valid

qasim-bend-kit@0.1.0.2 · libs/AES256GCM.bend:59

import qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend as AES256GCM
import Base

59# GCM limits are expressed in bytes after requiring byte-aligned input.
60def plaintext_valid(+bytes: List<&2, U32>) -> Bool:
61    bytes_valid(bytes) && bytes_length_limit(bytes, 4294967264, 15)

Uses (6)

Used by (30)