def decrypt_auth_result

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

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

479def decrypt_auth_result(words: List<&2, U32>, envelope: Envelope, authenticated: Bool) -> Result<&2, &2, Error, List<&2, U32>>:
480    match authenticated:
481        case False{}: Fail{AuthenticationFailed{}}
482        case True{}: decrypt_payload(words, envelope)

Uses (7)

Used by (8)