add crc256 method