changed challenge 11 to use ecb mode detection function