Boost logo

Boost :

Subject: [boost] [encrypted strings]
From: Sid Sacek (ssacek_at_[hidden])
Date: 2009-04-27 11:21:11

Does boost have any compile-time classes for string encryption? Is it
even possible?


When a hacker dumps an executable, they can see all of the strings the
program might use, and some of those strings may contain sensitive
information. Does boost have any classes that can encode the strings at
compile-time? Ideally, the third string in the code below would never
compile the "secret" string into the final binary.





void foo( void )


     char const * s1 = "abc";

     string s2 = "xyz";


     encrypted_string s3( "secret" );



Boost list run by bdawes at, gregod at, cpdaniel at, john at