Just tested that out and compared it with using HASH in VFPEncryption

Scanned a table of 10,000 employee records and calculated the hash for 
forenames+surname

Hash took just over 0.1 seconds
SHA256.Encode took just over 38 seconds

I suppose that was to be expected and it might even be acceptable

Paul Newton

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul Hill
Sent: 12 November 2012 13:18
To: profoxt...@leafe.com
Subject: Re: SHA256 hash WITHOUT using VFPEncryption.FLL

LMGTFY :-)

http://jammox.co.uk/server/snippets.php?sn=fox3

On 12 November 2012 12:42, Paul Newton <paul.new...@pegasus.co.uk> wrote:

> Hi
>
> Does anybody have any idea on how I can create a SHA256 hash from a 
> string without using Craig Boyd's VFPEncryption.FLL?
>
> I am hesitant to use the FLL because it exposes methods whose name 
> could be the same as other functions or procedures.
>
> Many thanks
>
> Paul Newton
>

--
Paul


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/9a8106afb0ef9b44b69045c4448935a20a8...@ukfawexmbx1.infor.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to