heavily vectorized c++17 compile time string encryption.
heavily vectorized c++17 compile time string encryption.
A heavily vectorized c++17 compile time string encryption.
int main() {
std::puts(xorstr_("an extra long hello_world"));
}…Tested to be working on clang 5.0+, gcc 7.1+ and MSVC v141. If your CPU does not support AVX define JM_XORSTR_DISABLE_AVX_INTRINSICS to only use SSE.
Output of gcc (trunk) from the quick example
…No open issues yet, or sync has not completed.