This paper presents a k-mer indexing method for DNA sequences utilizing a hash algorithm to effectively process large-scale genomic data in limited memory and time. The proposed indexing model optimizes space and computational complexities while improving search efficiency through a hash table and conflict resolution techniques. Results indicate significant performance enhancements compared to traditional methods, making it suitable for analyzing varying k-mer lengths in extensive DNA datasets.