rename vars to base64 since this isn’t a aha method
10.9+ specific implementation