Doesn’t the encrypt function do the padding for you? Bob S On Feb 19, 2026, at 9:45 AM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote: put base64Decode(pMasterKeyB64) into tMaster if length(tMaster) < 64 then return "ERR: master key must be >= 64 bytes"