improved cipher output