Encode AKA knowin for IOS

Encode AKA knowin for IOS