Changed QKF methods using CryptoUtils to synchronized