Overloads for ByteBuffer encryption