[fpc-pascal] is scrypt available?
Michael Van Canneyt
michael at freepascal.org
Mon Oct 26 22:09:26 CET 2015
On Mon, 26 Oct 2015, wkitty42 at windstream.net wrote:
> On 10/26/2015 03:29 PM, Michael Van Canneyt wrote:
>>
>>
>> On Mon, 26 Oct 2015, wkitty42 at windstream.net wrote:
>>
>>>
>>> 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?
>>
>> Did you try dcrypt, I think it works with FPC ? Also, there is a hmac unit
>> in
>> fpc, as well as a sha1 unit. It should work cross-platform, but there is an
>> optimized version for i386.
>
> no, i haven't heard of dcrypt... i'm specifically after scrypt for securing
> passwords in a database... i don't know if dcrypt is using a different method
> than scrypt or if that's just the name of the code...
It is of course DCPCrypt:
http://wiki.freepascal.org/DCPcrypt
As for the exact algorithm: there are many algorithms available, you can choose any one, really.
Unless you're writing military grade or intelligence agency applications,
I don't think it really matters which one you use...
Michael.
More information about the fpc-pascal
mailing list