Given a binary code , the set of all vectors which leave invariant under translation is called the kernel of . The main concern of this paper is the development of an efficient algorithm for computing the kernel of . We present such an algorithm with runtime , which is the best possible.