Library base64
Base64 encoding and decoding. Follows RFC 4648.
Author:
Copyright © The MIT License (MIT); Copyright (c) 2016 Patrick Joseph Donnelly (batrick@batbytes.com)
Source: https://svn.nmap.org/nmap/nselib/base64.lua
Functions
Functions
- dec (e)
-
Decodes Base64-encoded data.
Parameters
- e
- Base64 encoded data.
Return value:
Decoded data. - enc (p)
-
Encodes a string to Base64.
Parameters
- p
- Data to be encoded.
Return value:
Base64-encoded string.