Handbook
Glossary
ensure-sha256 ( header -- header )
Vocabulary
crypto
.
jwt
Inputs
header
an
object
Outputs
header
an
object
Definition
USING:
assocs
kernel
;
IN:
crypto.jwt
:
ensure-sha256
( header -- header )
dup
"typ"
of
"JWT"
=
[
unsupported-jwt
]
unless
dup
"alg"
of
"HS256"
=
[
unsupported-jwt
]
unless
;