6 stable releases
3.0.0 | Mar 27, 2022 |
---|---|
2.0.0 | Jan 26, 2022 |
1.2.1 | Jan 25, 2022 |
1.1.0 | Apr 14, 2021 |
1.0.0 | Apr 13, 2021 |
#2780 in Algorithms
74KB
1K
SLoC
byond-crc32
Fast CRC-32/BYOND checksum computation
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
Example
use byond_crc32::Crc32;
let mut crc32 = Crc32::new();
crc32.update(b"123456789");
let checksum = crc32.as_u32();