realbasic-nug
[Top] [All Lists]

Variant.Hash algorithm

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Variant.Hash algorithm
From: Phil M <phil at mobleybros dot com>
Date: Thu, 28 Sep 2006 16:31:47 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Is the implementation of Variant.Hash for Strings the same across all computers and platforms?

Instead of sending an MD5 string, can I use Variant.Hash to compare two strings across a network? Specifically, I would like to bind to a "random" network port based on a string constant built into the application.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


From  Fri 29 Sep 2006 01:33:55 +0200
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 00130C9746F; Thu, 28 Sep 2006 16:34:17 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on realxserve.local
X-Spam-Level: X-Spam-Status: No, score=-0.2 required=4.5 tests=AWL,RCVD_IN_SORBS_WEB autolearn=disabled version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id 37FBEC97468;
        Thu, 28 Sep 2006 16:34:17 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id CBC7E1535BD3; Thu, 28 Sep 2006 18:34:02 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de
        [80.67.18.13])
        by lists.realsoftware.com (Postfix) with ESMTP id 1BE8D1535BC3
        for <realbasic-nug at lists dot realsoftware dot com>;
        Thu, 28 Sep 2006 18:33:56 -0500 (CDT)
Received: (qmail 4809 invoked from network); 28 Sep 2006 23:33:55 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 99 dot 
145])
        (envelope-sender <support at monkeybreadsoftware dot de>)
        by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-nug at lists dot realsoftware dot com>; 28 Sep 2006 
23:33:55 -0000
To: realbasic-nug at lists dot realsoftware dot com (REALbasic NUG)
In-Reply-To: <5B3C8D27-C2F4-4F0F-8FDC-AE21BC583A37 at declareSub dot com>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Fri, 29 Sep 2006 01:33:55 +0200
Message-ID: <1hmekbn dot 124lvix15vt27uM%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
        Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.7)
Subject: Re: OS X Declare question: What encoding?
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

Charles Yeomans <charles at declareSub dot com> wrote:

It depends on the function, but if it's returning a StringPtr, then =20
Encodings.SystemDefault is usually the right choice.

Sure? I thought most return MacRoman encoding.
(at least for my german Mac OS X)

Gru=DF
Christian

--=20
Around eleven thousand functions in one REALbasic plug-in.=20
The Monkeybread Software Realbasic Plugin v6.3. Now universal!
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • Variant.Hash algorithm, Phil M <=