github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/hash/crc32/crc32_generic.go (about)

     1  // Copyright 2011 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // This file contains CRC32 algorithms that are not specific to any architecture
     6  // and don't use hardware acceleration.
     7  //
     8  // The simple (and slow) CRC32 implementation only uses a 256*4 bytes table.
     9  //
    10  // The slicing-by-8 algorithm is a faster implementation that uses a bigger
    11  // table (8*256*4 bytes).
    12  
    13  package crc32