So the docs were already wrong, but this plainly isn't the *text* you wish to encrypt, it's the *bytes*. Same below