extractBase64Key proper substringing.