base64 encoding/decoding module

This module provides encoding and decoding of base64 strings. 
redundant Assignment: ret gets a new value in line 48 in any case.