Linear codes have wide applications in secret sharing schemes and authentication codes. In this letter, a class of binary linear codes with two weights is presented. The weight distribution of this class of binary linear codes is settled. The dual codes are also studied and proved to be optimal or almost optimal.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.