Check the message length first before creating new cipher at all