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.

 

Regards,

-Sid

 

void foo( void )

{

     char const * s1 = "abc";

     string s2 = "xyz";

 

     encrypted_string s3( "secret" );

}

 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk