├── .clang-format ├── .github └── workflows │ └── tests.yml ├── .gitignore ├── .gitmodules ├── .tm_properties ├── CMakeLists.txt ├── LICENSE ├── README.md ├── checksum.cpp ├── cmake ├── colors.cmake ├── coverage.cmake └── pedantic.cmake ├── default.profraw ├── example.cpp ├── examples ├── CMakeLists.txt ├── playground.cpp ├── sha256.cpp ├── sha3.cpp ├── shake128.cpp └── xxhash.cpp ├── include ├── CMakeLists.txt ├── cthash-single-header.hpp └── cthash │ ├── cthash.hpp │ ├── encoding │ ├── base.hpp │ ├── bit-buffer.hpp │ ├── chunk-of-bits.hpp │ ├── concepts.hpp │ └── encodings.hpp │ ├── fixed-string.hpp │ ├── hasher.hpp │ ├── internal │ ├── algorithm.hpp │ ├── bit.hpp │ ├── concepts.hpp │ ├── convert.hpp │ ├── deduce.hpp │ └── hexdec.hpp │ ├── sha2 │ ├── common.hpp │ ├── sha224.hpp │ ├── sha256.hpp │ ├── sha384.hpp │ ├── sha512.hpp │ └── sha512 │ │ └── t.hpp │ ├── sha3 │ ├── common.hpp │ ├── keccak-base.hpp │ ├── keccak.hpp │ ├── sha3-224.hpp │ ├── sha3-256.hpp │ ├── sha3-384.hpp │ ├── sha3-512.hpp │ ├── sha3.hpp │ ├── shake128.hpp │ └── shake256.hpp │ ├── simple.hpp │ ├── value.hpp │ └── xxhash.hpp └── tests ├── CMakeLists.txt ├── benchmark ├── sha256.cpp ├── sha3-256.cpp └── sha512.cpp ├── encoding ├── base.cpp ├── bit-buffer.cpp ├── chunk-of-bits.cpp └── selection.cpp ├── hexdec.cpp ├── internal └── support.hpp ├── keccak.cpp ├── sha2 ├── sha224.cpp ├── sha256.cpp ├── sha384.cpp ├── sha512.cpp └── sha512t.cpp ├── sha3 ├── keccak-256.cpp ├── keccak-384.cpp ├── keccak-512.cpp ├── sha3-224.cpp ├── sha3-256.cpp ├── sha3-384.cpp ├── sha3-512.cpp ├── shake128.cpp ├── shake256.cpp └── xor-overwrite.cpp ├── value.cpp └── xxhash └── basics.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/.clang-format -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build* -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/.gitmodules -------------------------------------------------------------------------------- /.tm_properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/.tm_properties -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/README.md -------------------------------------------------------------------------------- /checksum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/checksum.cpp -------------------------------------------------------------------------------- /cmake/colors.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/cmake/colors.cmake -------------------------------------------------------------------------------- /cmake/coverage.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/cmake/coverage.cmake -------------------------------------------------------------------------------- /cmake/pedantic.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/cmake/pedantic.cmake -------------------------------------------------------------------------------- /default.profraw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/default.profraw -------------------------------------------------------------------------------- /example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/example.cpp -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/examples/CMakeLists.txt -------------------------------------------------------------------------------- /examples/playground.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/examples/playground.cpp -------------------------------------------------------------------------------- /examples/sha256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/examples/sha256.cpp -------------------------------------------------------------------------------- /examples/sha3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/examples/sha3.cpp -------------------------------------------------------------------------------- /examples/shake128.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/examples/shake128.cpp -------------------------------------------------------------------------------- /examples/xxhash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/examples/xxhash.cpp -------------------------------------------------------------------------------- /include/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/CMakeLists.txt -------------------------------------------------------------------------------- /include/cthash-single-header.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash-single-header.hpp -------------------------------------------------------------------------------- /include/cthash/cthash.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/cthash.hpp -------------------------------------------------------------------------------- /include/cthash/encoding/base.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/encoding/base.hpp -------------------------------------------------------------------------------- /include/cthash/encoding/bit-buffer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/encoding/bit-buffer.hpp -------------------------------------------------------------------------------- /include/cthash/encoding/chunk-of-bits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/encoding/chunk-of-bits.hpp -------------------------------------------------------------------------------- /include/cthash/encoding/concepts.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/encoding/concepts.hpp -------------------------------------------------------------------------------- /include/cthash/encoding/encodings.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/encoding/encodings.hpp -------------------------------------------------------------------------------- /include/cthash/fixed-string.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/fixed-string.hpp -------------------------------------------------------------------------------- /include/cthash/hasher.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/hasher.hpp -------------------------------------------------------------------------------- /include/cthash/internal/algorithm.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/internal/algorithm.hpp -------------------------------------------------------------------------------- /include/cthash/internal/bit.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/internal/bit.hpp -------------------------------------------------------------------------------- /include/cthash/internal/concepts.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/internal/concepts.hpp -------------------------------------------------------------------------------- /include/cthash/internal/convert.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/internal/convert.hpp -------------------------------------------------------------------------------- /include/cthash/internal/deduce.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/internal/deduce.hpp -------------------------------------------------------------------------------- /include/cthash/internal/hexdec.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/internal/hexdec.hpp -------------------------------------------------------------------------------- /include/cthash/sha2/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha2/common.hpp -------------------------------------------------------------------------------- /include/cthash/sha2/sha224.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha2/sha224.hpp -------------------------------------------------------------------------------- /include/cthash/sha2/sha256.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha2/sha256.hpp -------------------------------------------------------------------------------- /include/cthash/sha2/sha384.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha2/sha384.hpp -------------------------------------------------------------------------------- /include/cthash/sha2/sha512.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha2/sha512.hpp -------------------------------------------------------------------------------- /include/cthash/sha2/sha512/t.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha2/sha512/t.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/common.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/keccak-base.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/keccak-base.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/keccak.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/keccak.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/sha3-224.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/sha3-224.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/sha3-256.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/sha3-256.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/sha3-384.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/sha3-384.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/sha3-512.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/sha3-512.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/sha3.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/sha3.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/shake128.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/shake128.hpp -------------------------------------------------------------------------------- /include/cthash/sha3/shake256.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/sha3/shake256.hpp -------------------------------------------------------------------------------- /include/cthash/simple.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/simple.hpp -------------------------------------------------------------------------------- /include/cthash/value.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/value.hpp -------------------------------------------------------------------------------- /include/cthash/xxhash.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/include/cthash/xxhash.hpp -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/benchmark/sha256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/benchmark/sha256.cpp -------------------------------------------------------------------------------- /tests/benchmark/sha3-256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/benchmark/sha3-256.cpp -------------------------------------------------------------------------------- /tests/benchmark/sha512.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/benchmark/sha512.cpp -------------------------------------------------------------------------------- /tests/encoding/base.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/encoding/base.cpp -------------------------------------------------------------------------------- /tests/encoding/bit-buffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/encoding/bit-buffer.cpp -------------------------------------------------------------------------------- /tests/encoding/chunk-of-bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/encoding/chunk-of-bits.cpp -------------------------------------------------------------------------------- /tests/encoding/selection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/encoding/selection.cpp -------------------------------------------------------------------------------- /tests/hexdec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/hexdec.cpp -------------------------------------------------------------------------------- /tests/internal/support.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/internal/support.hpp -------------------------------------------------------------------------------- /tests/keccak.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/keccak.cpp -------------------------------------------------------------------------------- /tests/sha2/sha224.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha2/sha224.cpp -------------------------------------------------------------------------------- /tests/sha2/sha256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha2/sha256.cpp -------------------------------------------------------------------------------- /tests/sha2/sha384.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha2/sha384.cpp -------------------------------------------------------------------------------- /tests/sha2/sha512.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha2/sha512.cpp -------------------------------------------------------------------------------- /tests/sha2/sha512t.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha2/sha512t.cpp -------------------------------------------------------------------------------- /tests/sha3/keccak-256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/keccak-256.cpp -------------------------------------------------------------------------------- /tests/sha3/keccak-384.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/keccak-384.cpp -------------------------------------------------------------------------------- /tests/sha3/keccak-512.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/keccak-512.cpp -------------------------------------------------------------------------------- /tests/sha3/sha3-224.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/sha3-224.cpp -------------------------------------------------------------------------------- /tests/sha3/sha3-256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/sha3-256.cpp -------------------------------------------------------------------------------- /tests/sha3/sha3-384.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/sha3-384.cpp -------------------------------------------------------------------------------- /tests/sha3/sha3-512.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/sha3-512.cpp -------------------------------------------------------------------------------- /tests/sha3/shake128.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/shake128.cpp -------------------------------------------------------------------------------- /tests/sha3/shake256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/shake256.cpp -------------------------------------------------------------------------------- /tests/sha3/xor-overwrite.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/sha3/xor-overwrite.cpp -------------------------------------------------------------------------------- /tests/value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/value.cpp -------------------------------------------------------------------------------- /tests/xxhash/basics.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hanickadot/cthash/HEAD/tests/xxhash/basics.cpp --------------------------------------------------------------------------------