摘要

Linear codes with complementary dual (LCD codes) play an important role in armoring implementations against side-channel attacks and fault injection attacks. Hermitian LCD codes are a special class of LCD codes, which were proved to be asymptotically good. In this paper, several classes of optimal quaternary Hermitian LCD codes are constructed via constacyclic codes. The binary images of these classes of quaternary Hermitian LCD codes are characterized. Several classes of optimal binary LCD codes with minimum distance 6, and optimal binary linear codes with one-dimensional hull and minimum distance 6 are also presented.