On 10/26/2015 05:09 PM, Michael Van Canneyt wrote:
On Mon, 26 Oct 2015, wkitt...@windstream.net wrote:
On 10/26/2015 03:29 PM, Michael Van Canneyt wrote:
On Mon, 26 Oct 2015, wkitt...@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

ahh! that makes a difference ;)

As for the exact algorithm: there are many algorithms available, you can choose
any one, really.

i'll take a look... one thing that might be problematic is if it relies on additional units... the use case in question uses all custom written units and nothing much from the FCL or similar...

Unless you're writing military grade or intelligence agency applications, I
don't think it really matters which one you use...

that's true ;)

--
 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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to