Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-10

is scrypt available?

14 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

i've found scrypt for delphi but desire to use it cross-platform and don't know enough about removing stuff for windows... is there an scrypt available for FPC or lazarus that is easily implemented and used?

NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

Unknown author
to taazz
taazz wrote 10 lines
On 26/10/2015 22:56 ??, wrote: > On 10/26/2015 03:31 PM, wrote: >> Am Monday 26 October 2015 20:13:49 schrieb : >>> scrypt >> >> http://www.wolfgang-ehrhardt.de/crchash_en.html > > the license on that one is too restrictive :( > What is so restrictive about zlib?

where do you see anything about zlib?

NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

taazz
to Unknown author
Show quoted text 14 lines
On 10/26/2015 11:59 PM, taazz wrote: > On 26/10/2015 22:56 ??, wrote: >> On 10/26/2015 03:31 PM, wrote: >>> Am Monday 26 October 2015 20:13:49 schrieb : >>>> scrypt >>> >>> http://www.wolfgang-ehrhardt.de/crchash_en.html >> >> the license on that one is too restrictive :( >> > What is so restrictive about zlib? where do you see anything about zlib?

in the page linked first paragraph/line from the top [quote]
Here you find a few Pascal / Delphi source and binary files related to CRC, hash, and HMAC calculations. All files can be used and distributed under this license
<http://www.wolfgang-ehrhardt.de/info_en.html#License>, the original template of the zlib/libpng license can be found here: zlib-license <http://www.opensource.org/licenses/zlib-license.php>. [/quote]

Reply by email

Unknown author
to taazz
taazz wrote 16 lines
On 27/10/2015 16:18 ??, wrote: > On 10/26/2015 11:59 PM, taazz wrote: >> On 26/10/2015 22:56 ??, wrote: >>> On 10/26/2015 03:31 PM, wrote: >>>> Am Monday 26 October 2015 20:13:49 schrieb : >>>>> scrypt >>>> >>>> http://www.wolfgang-ehrhardt.de/crchash_en.html >>> >>> the license on that one is too restrictive :( >>> >> What is so restrictive about zlib? > > where do you see anything about zlib? > in the page linked first paragraph/line from the top

ahh... but the problem is [keep reading]

[quote] Here you find a few Pascal / Delphi source and binary files related to CRC, hash, and HMAC calculations. All files can be used and distributed under this license <http://www.wolfgang-ehrhardt.de/info_en.html#License>, the original

the above link is the license URL... the stuff about patents is off putting to say the least...

template of the zlib/libpng license can be found here: zlib-license <http://www.opensource.org/licenses/zlib-license.php>. [/quote]
NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

Mark Morgan Lloyd
to Unknown author
the above link is the license URL... the stuff about patents is off putting to say the least...

Apologies for chopping the bulk of that message, but it's coming over unformatted.

The patents issue relating to zlib etc. is way out of date, see https://en.wikipedia.org/wiki/LZW#Patents for a summary.

What you choose to use depends on what (if anything) you need to be compatible with, but for some password stuff I wrote a couple of years ago I used Tiger2 from DCPcrypt.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Unknown author
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 6 lines
wrote: > the above link is the license URL... the stuff about patents is off putting to > say the least... Apologies for chopping the bulk of that message, but it's coming over unformatted.

no problem... i do take steps to reformat some quotes some times...

The patents issue relating to zlib etc. is way out of date, see https://en.wikipedia.org/wiki/LZW#Patents for a summary.

it isn't those patent issues... there's something else that the license link page talks about...

What you choose to use depends on what (if anything) you need to be compatible with, but for some password stuff I wrote a couple of years ago I used Tiger2 from DCPcrypt.

understood on the compatibility... i was just pointing out that that implementation was not right for our needs... maybe there is another implementation that will work... if not, reinventing the wheel will be necessary...

NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

taazz
to Unknown author: ahh... but the problem is [keep reading] the above link is the license URL... the stuff…
Show quoted text 35 lines
On 10/28/2015 06:33 AM, taazz wrote: > On 27/10/2015 16:18 ??, wrote: >> On 10/26/2015 11:59 PM, taazz wrote: >>> On 26/10/2015 22:56 ??, wrote: >>>> On 10/26/2015 03:31 PM, wrote: >>>>> Am Monday 26 October 2015 20:13:49 schrieb : >>>>>> scrypt >>>>> >>>>> http://www.wolfgang-ehrhardt.de/crchash_en.html >>>> >>>> the license on that one is too restrictive :( >>>> >>> What is so restrictive about zlib? >> >> where do you see anything about zlib? >> > in the page linked first paragraph/line from the top ahh... but the problem is [keep reading] > [quote] > Here you find a few Pascal / Delphi source and binary files related > to CRC, > hash, and HMAC calculations. All files can be used and distributed > under this > license <http://www.wolfgang-ehrhardt.de/info_en.html#License>, the > original the above link is the license URL... the stuff about patents is off putting to say the least... > template of the zlib/libpng license can be found here: zlib-license > <http://www.opensource.org/licenses/zlib-license.php>. > [/quote]

The stuff about patents?
Those "patent stuff" as you put it have nothing to do with the code's license you have to be aware of them regardless the library you use or the license the library comes with. They do restrict your use cases but its not the library's fault or role to solve them for you. It is the same with every mp3 library out there, you need to be aware that mp3 is a patented algorithm and if you create a commercial product using it you have to pay for the privilege regardless of the library's license.

In any way I have my answer and thank you for your time.

Reply by email

Mark Morgan Lloyd
to Unknown author: no problem... i do take steps to reformat some quotes some times... it isn't those patent…
Show quoted text 17 lines
On 10/28/2015 01:00 PM, Mark Morgan Lloyd wrote: > wrote: > >> the above link is the license URL... the stuff about patents is off >> putting to >> say the least... > > Apologies for chopping the bulk of that message, but it's coming over > unformatted. no problem... i do take steps to reformat some quotes some times... > The patents issue relating to zlib etc. is way out of date, see > https://en.wikipedia.org/wiki/LZW#Patents for a summary. it isn't those patent issues... there's something else that the license link page talks about...

Go on...

The Unisys and BT patents are the ones that have given most people problems, which is why I cited that page.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Unknown author
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 19 lines
wrote: > On 10/28/2015 01:00 PM, Mark Morgan Lloyd wrote: >> wrote: >> >>> the above link is the license URL... the stuff about patents is off putting to >>> say the least... >> >> Apologies for chopping the bulk of that message, but it's coming over >> unformatted. > > no problem... i do take steps to reformat some quotes some times... > >> The patents issue relating to zlib etc. is way out of date, see >> https://en.wikipedia.org/wiki/LZW#Patents for a summary. > > it isn't those patent issues... there's something else that the license link > page talks about... Go on...

crypto patents or something, i guess... it says that if there are any patents in the software that the code cannot be used... click the link and read it and you'll see it, too...

The Unisys and BT patents are the ones that have given most people problems, which is why I cited that page.

yeah... AFAIK, zip or zlib stuff isn't used in this... or is it?

NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list* unless private contact is specifically requested and granted.

Reply by email

taazz
to Unknown author
Show quoted text 27 lines
On 10/28/2015 03:32 PM, Mark Morgan Lloyd wrote: > wrote: >> On 10/28/2015 01:00 PM, Mark Morgan Lloyd wrote: >>> wrote: >>> >>>> the above link is the license URL... the stuff about patents is >>>> off putting to >>>> say the least... >>> >>> Apologies for chopping the bulk of that message, but it's coming over >>> unformatted. >> >> no problem... i do take steps to reformat some quotes some times... >> >>> The patents issue relating to zlib etc. is way out of date, see >>> https://en.wikipedia.org/wiki/LZW#Patents for a summary. >> >> it isn't those patent issues... there's something else that the >> license link >> page talks about... > > Go on... crypto patents or something, i guess... it says that if there are any patents in the software that the code cannot be used... click the link and read it and you'll see it, too...

That's not what it its says is that even if you do use an other library, the scrypt algorithm is the same so you do need check for patents on it and comply with your countries patent laws. In any case the library's license is less restrictive than mpl.

Reply by email

Mark Morgan Lloyd
to Unknown author: crypto patents or something, i guess... it says that if there are any patents in the…
Show quoted text 5 lines
> Go on... crypto patents or something, i guess... it says that if there are any patents in the software that the code cannot be used... click the link and read it and you'll see it, too...

That's standard boilerplate, which he put in specifically because there was a handful of attempted patents covering compression algorithms (Unisys, BT, PKWARE and at least one held by IBM). I think the last of those expired in something like 2007 and I'm pretty sure that zlib etc. predates that... apart from anything else any compressed GIFs were believed to sail close to the Unisys patent.

Show quoted text 5 lines
> The Unisys and BT patents are the ones that have given most people > problems, > which is why I cited that page. yeah... AFAIK, zip or zlib stuff isn't used in this... or is it?

As I said, he's using the same boilerplate license for all his stuff.

I am not a lawyer, but my understanding is that software patents have not been thoroughly tested in any jurisdiction. I think the consensus is that an algorithm probably can't be patented while a specific method of using one or more algorithms might be patentable, which means that you can probably use any published hash algorithm with impunity but something more complex like Diffie-Hellman might be less clear-cut.

In any event, if the details of e.g. a hash algorithm have been formally published then it probably can't be subsequently patented, and if the author didn't reveal that he'd applied for patents before publication he'd not make himself popular. For an extreme case of this, consider the Rambus debacle.

There might be separate issues relating to copyright, but truth can't be copyrighted and an algorithm is, by definition, an expression of truth: there's no scope for opinion or subjective decisions. As an example consider SCO's attempts to claim ownership of the Linux kernel (and the row Oracle and Sun are having over Java), where the important point is whether stuff which appears in both has been copied or is quite simply doable in only one way.

So as I've said, I'm using Tiger2 for hashes since (a) it was openly published, (b) if Ross Anderson finds I've screwed something up and feels it's to his discredit he's close enough to make it worth being polite and (c) if he /really/ doesn't like something I've done we're in the same legal jurisdiction.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email