encrypt() and decrypt() function comments incorrectly stated which mode
was being used