def METHOD_NAME(self):
    dh = mimilib.MimiDiffeH()
    blob = mimilib.PUBLICKEYBLOB()
    blob['y'] = dh.genPublicKey()[::-1]
    public_key = mimilib.MIMI_PUBLICKEY()
    public_key['sessionType'] = mimilib.CALG_RC4
    public_key['cbPublicKey'] = 144
    public_key['pbPublicKey'] = blob.getData()
    return dh, public_key