add ECB mode for encryption