fixed base64 key cal