Sign in Join

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

Mailing lists / fpc-pascal / 2013-04

Hashes and CRCs

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Mark Morgan Lloyd

Noting discussion of a couple of weeks ago re. HMAC_SHA1 and FPC's hash package, I've just been hunting for Tiger and have found http://www.cityinthesky.co.uk/opensource/DCPcrypt which looks interesting:

Encryption Algorithms Hash Algorithms
Blowfish Haval
Cast 128 MD4
Cast 256 MD5
DES, 3DES RipeMD-128
Ice, Thin Ice, Ice2 RipeMD-160
IDEA SHA-1
Mars SHA-256, SHA-384, SHA-512
Misty1 Tiger
RC2, RC4, RC5, RC6
Rijndael (the AES)
Serpent
Tea
Twofish

Also, anybody doing traditional datacomms work might find crcm_cat.pas and crcmodel.pas from
http://www.wolfgang-ehrhardt.de/crc_hash_2013-01-07.zip useful, there's times I'd have murdered for a decent 4-bit CRC to fit a gap in a header. Same author also has implementation of other crypto and hash stuff including Skipjack, all believed good for FPC
http://www.wolfgang-ehrhardt.de/

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]
Graeme Geldenhuys
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote
package, I've just been hunting for Tiger and have found http://www.cityinthesky.co.uk/opensource/DCPcrypt which looks interesting:

DCPcrypt (in terms of FPC, Lazarus et-al) currently lives in a Git repository in the Lazarus-CCR project on SourceForge.

To browse it with your web browser:

http://lazarus-ccr.git.sourceforge.net/git/gitweb.cgi?p=lazarus-ccr/dcpcrypt;a=summary

I know about the link you posted, and still need to see if there is anything new I can merge back into the one hosted on Lazarus-CCR. It is on my todo list.

Anyway, I use DCPCrypt in some commercial work of mine, and it works very well.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/
Graeme Geldenhuys
to Graeme Geldenhuys
Graeme Geldenhuys wrote
DCPcrypt (in terms of FPC, Lazarus et-al) currently lives in a Git repository in the Lazarus-CCR project on SourceForge.

On a side note:
Probably not the best place for such a project. That also goes for many other project in Lazarus-CCR. It is very hidden in Lazarus-CCR, and often overlooked by internet searches. It really should be in its own top-level project on SourceForge or Github.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/
Mark Morgan Lloyd
to Graeme Geldenhuys
Graeme Geldenhuys wrote 10 lines
On 2013-04-04 23:20, Graeme Geldenhuys wrote: > DCPcrypt (in terms of FPC, Lazarus et-al) currently lives in a Git > repository in the Lazarus-CCR project on SourceForge. On a side note: Probably not the best place for such a project. That also goes for many other project in Lazarus-CCR. It is very hidden in Lazarus-CCR, and often overlooked by internet searches. It really should be in its own top-level project on SourceForge or Github.

I agree, Google completely overlooked it when I was searching last night. I don't see why it should be put into CCR etc. when it's readily available from the original author, unless of course he's chosen to do so.

The truth is that FPC/Lazarus are still lacking something like Torry, and much of the freeware libraries or source that used to be indexed by it is probably now unavailable.

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

2013/4/5 Mark Morgan Lloyd

Show quoted text 5 lines
I agree, Google completely overlooked it when I was searching last night. I don't see why it should be put into CCR etc. when it's readily available from the original author, unless of course he's chosen to do so. Because at that time it was not fpc/lazarus compatible and the person who

put in lazarus-ccr chose to share it, instead of keeping the port by himself.

The truth is that FPC/Lazarus are still lacking something like Torry, and much of the freeware libraries or source that used to be indexed by it is probably now unavailable.

I guess that is what the founder of Lazarus-CCR attempted to create, a repository of Lazarus components.

Vincent

Reinier Olislagers
to Vincent Snijders
Vincent Snijders wrote 20 lines
2013/4/5 Mark Morgan Lloyd < > I agree, Google completely overlooked it when I was searching last night. I don't see why it should be put into CCR etc. when it's readily available from the original author, unless of course he's chosen to do so. Because at that time it was not fpc/lazarus compatible and the person who put in lazarus-ccr chose to share it, instead of keeping the port by himself. The truth is that FPC/Lazarus are still lacking something like Torry, and much of the freeware libraries or source that used to be indexed by it is probably now unavailable. I guess that is what the founder of Lazarus-CCR attempted to create, a repository of Lazarus components.

Perhaps the site redesign attempts on the forum will correct this deficiency. I certainly hope so.
Apart from that, the wiki already has a huge list of components etc. If dpcrypt on Laz CCR is missing, it should be added.