-Type hb: HBytes_Value @
-Init hb hbytes_sentinel(&@);
-Type hbv: HBytes_Var @
-Init hbv @.hb=0; @.obj=0; @.var=0;
-Fini hbv fini_hbv(ip, rc, &@);
-
-H-Include "hbytes.h"
-
-Untabled
- hbytes
- subcmd enum(HBytes_SubCommand, "hbytes subcommand")
- obj ...
-
-Table hbytes HBytes_SubCommand
- raw2h
- binary obj
- => hb
- h2raw
- hex hb
- => obj
- length
- v hb
- => int
- prepend
- v hbv
- str ...
- append
- v hbv
- str ...
- rep-info
- v hb
- => obj
- concat
- str ...
- => hb
- unprepend
- v hbv
- length int
- => hb
- unappend
- v hbv
- length int
- => hb
- chopto
- v hbv
- length int
- => hb
- pkcs5
- meth enum(PadMethod, "hbytes pad subcommand")
- v hbv
- block obj
- => int
-# blockcipher
-# encrypt charfrom("de","encrypt/decrypt")
-# v hbv
-# alg enum(BlockCipherAlgInfo, "alg")
-# mode enum(BlockCipherModeInfo, "mode")
-# ?iv hb
-# => hb
-# hash
-# alg enum(HashAlgInfo, "hash alg")
-# message hb
-# => hb
-# hmac
-# alg enum(HashAlgInfo, "hash alg for hmac")
-# message hb
-# key hb
-# maclen int
-# => hb