Updated the corresponding methods to use base64 encoded bye arrays

Now, base64 byte arrays are used for any keys and signature used
locally on the phone/database, but base64 strings are used for the
signed public key that is transmitted through SMS.