message: crypto: clean up examples
diff: -#if !defined(INFINIT_WINDOWS)
  +#if !defined INFINIT_WINDOWS
  # include <termios.h>
  #endif
  #include <elle/cryptography/SecretKey.hh>
  #include <elle/cryptography/Error.hh>
  -static
  +namespace
  +{
  void
  echo_mode(bool enable)
  {
  -#if defined(INFINIT_WINDOWS)
  +#if defined INFINIT_WINDOWS
  HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE);
  DWORD mode;
  GetConsoleMode(hStdin, &mode);
  @@ -33,7 +34,6 @@ echo_mode(bool enable)
  #endif
  }
  -static
  elle::cryptography::SecretKey
  key(bool verify, boost::optional<std::string> passphrase = {})
  {
  @@ -47,12 +47,13 @@ key(bool verify, boost::optional<std::string> passphrase = {})
  std::cout << std::endl;
  };
  if (passphrase)
  - passphrases = {*passphrase, *passphrase};
  + passphrases = {{*passphrase, *passphrase}};
  else
  {
  elle::SafeFinally restore_echo([] { echo_mode(true); });
  echo_mode(false);
  - std::cout << "Please use a combination of upper and lower case letters and numbers." << std::endl;
  + std::cout << "Please use a combination of upper and lower case letters and numbers."
  + << std::endl;
  }
  if (!passphrase)
  {
  @@ -69,7 +70,8 @@ key(bool verify, boost::optional<std::string> passphrase = {})
  }
  }
  }
  - return SecretKey(passphrases[0]);
  + return passphrases[0];
  + }
  }
  int
  