JustasMasiulis / xorstr

heavily vectorized c++17 compile time string encryption.
Apache License 2.0
1.19k stars 193 forks source link

Illegal Instruction #22

Closed ghost closed 5 years ago

ghost commented 5 years ago

Code

#include <iostream>
#include "xorstr_strings.hpp"

int main()
{
    printf(xorstr("hello world!!!***").crypt_get());
}

AMD FX 8370, VS19, v142 toolset

http://prntscr.com/n8w4wl

ghost commented 5 years ago

same problem

xorstr_(";?-!!<|+^-;%}=#>")

JustasMasiulis commented 5 years ago

defining JM_XORSTR_DISABLE_AVX_INTRINSICS should solve your issue