Research Article

BFLP: An Adaptive Federated Learning Framework for Internet of Vehicles

Algorithm 7

Permutation function for round j in the encryption process.
 1: Let tr a temporary variable
 2: tr := Mj+2
 3: The permutation operations are the following:
 4:  Mj+2 := Mj+3
5:  Mj+3 := Mj+1
 6:  Mj+1 := tr