
27 Apr
2009
27 Apr
'09
4:34 p.m.
Hi, I am working on a Crypto library for that could do compile time encryption/decryption, however, requires 'constexpr' support from the compiler: template<class T> constexpr void encrypt(T& cipher_text, const T& plain_text) const throw(bad_state); template<class T> constexpr void decrypt(T& cipher_text, const T& plain_text) const throw(bad_state); -- Kasra