Library base32
Base32 encoding and decoding. Follows RFC 4648.
Author:
| Philip Pickering <pgpickering@gmail.com> |
Copyright© Same as Nmap--See http://nmap.org/book/man-legal.html
Source: http://nmap.org/svn/nselib/base32.lua
Functions
| dec (b32data, hexExtend) |
Decodes Base32-encoded data. |
| enc (bdata, hexExtend) |
Encodes a string to Base32. |
Functions
- dec (b32data, hexExtend)
-
Decodes Base32-encoded data.
Parameters
- b32data: Base32 encoded data.
- hexExtend: pass true to use the hex extended char set
Return value:
Decoded data. - enc (bdata, hexExtend)
-
Encodes a string to Base32.
Parameters
- bdata: Data to be encoded.
- hexExtend: pass true to use the hex extended char set
Return value:
Base32-encoded string.


