Decode the key