Clear using memset if the empty key consists of a repeated byte