added clear method to encrypted storage classes