Improved key handling, removed Rijndael engine as a constructor argument, draft support for magic numbers