chiark / gitweb /
53fd2399310a0d0c86732a7ef41f3fa3a760c2df
[chiark-tcl.git] / base / tables-examples.tct
1 Type hb:                        Tcl_Obj/*hbytes*/ *@
2 Type hbv:                       Tcl_Obj/*hbytes*/ *@
3
4 Table hbytes
5         raw2h
6                 binary  obj
7                 =>      hb
8         h2raw
9                 hex     hb
10                 =>      obj
11         prefix
12                 v       hbv
13                 str     ...
14         append
15                 v       hbv
16                 str     ...
17         concat
18                 v       hbv
19                 str     ...
20         unprepend
21                 v       hbv
22                 length  int
23                 =>      hb
24         unappend
25                 v       hbv
26                 length  int
27                 =>      hb
28         chopto
29                 v       hbv
30                 length  int
31                 =>      hb
32         pkcs5
33                 meth    enum(PadMethodInfo,padmethodinfos)
34                 arg     ...
35         blockcipher
36                 encrypt charfrom("de")
37                 v       hbv
38                 alg     enum(BlockCipherAlgInfo,blockcipheralginfos)
39                 mode    enum(BlockCipherModeInfo,blockciphermodeinfos)
40                 ?iv     hb
41                 =>      hb
42         hash
43                 alg     enum(HashAlgInfo,hashalginfos)
44                 message hb
45                 =>      hb
46         hmac
47                 alg     enum(HashAlgInfo,hashalginfos)
48                 message hb
49                 key     hb
50                 maclen  int
51                 =>      hb
52
53 #Table padmethodinfos
54 #       Info
55 #               int algname;
56 #Entries