Change encrypt mode on fly - implemented