support traditional encryption