base32 NSE Library — Nmap Scripting Engine documentation (original) (raw)
Base32 encoding and decoding. Follows RFC 4648.
Author:
- Patrick Donnelly batrick@batbytes.com
Copyright © The MIT License (MIT); Copyright (c) 2016 Patrick Joseph Donnelly (batrick@batbytes.com)
Source: https://svn.nmap.org/nmap/nselib/base32.lua
Functions
enc (p, hexExtend)
Encodes a string to Base32.
Functions
enc (p, hexExtend)
Encodes a string to Base32.
Parameters
p
Data to be encoded.
hexExtend
pass true to use the hex extended char set
Return value:
Base32-encoded string.