Implementing functionality for using base64 input

Enables secure implementation of web interface.