Just out of curiosity, I wonder if there are any packages of popular algorithm/data structures which are secure against timing attack.

I think GNU libstdc++ std::string::compare(), std::unordered_map (which employs open addressing) and so on are all vulnerable.

  • 1
    Alternatives exist, but they're not in the STL. – tylerl Feb 21 '16 at 7:31
  • @tylerl Could you point me to some possible alternatives? I'm not requiring strict STL-compatibility. – nodakai Feb 21 '16 at 7:33
  • Related: security.stackexchange.com/questions/112952/… I'd very much like to know the answer to the question you posed. – Deer Hunter Feb 21 '16 at 8:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.