// generate an AES session key
final byte[] sessionKey = CryptoHelper.GenerateRandomBlock(32);
// rsa encrypt it with the public key for the universe we're on
byte[] cryptedSessionKey = null;
final RSACrypto rsa = new RSACrypto(KeyDictionary.getPublicKey(steamClient.getConnectedUniverse()));
cryptedSessionKey = rsa.encrypt(sessionKey);
final byte[] loginKey = new byte[20];
System.arraycopy(callback.getLoginKey().getBytes(), 0, loginKey, 0, callback.getLoginKey().length());
// aes encrypt the loginkey with our session key