Arranging data ciphering in a telecommunication system comprising at least
one wireless terminal, a wireless local area network and a public land
mobile network. At least one first ciphering key according to the mobile
network is calculated in the mobile network and in the terminal for a
terminal identifier using a specific secret key for the identifier. Data
transmission between the mobile network and the terminal is carried out
through the wireless local area network. A second ciphering key is
calculated in the terminal and in the mobile network using said at least
one first ciphering key. The second ciphering key is sent from the mobile
network to the wireless local area network. The data between the terminal
and the network is ciphered using said second ciphering key.