Re: libgcrypt interface

[email protected] (Robert Bihlmeyer) 04 Jan 2003 20:08:02 +0100
Newsgroups perl.crypto
Message-ID <[email protected]>
------------=_1041707316-888-0
Content-Type: text/plain; charset=us-ascii

Dave Paris <[email protected]> writes:

> Please keep the module in the Crypt:: tree, perhaps as
> Crypt::GCrypt::*. Top-level module namespace is typically generic,
> like Net::, Math::, etc. regardless of the libraries implemented by
> their constituents.

Looking at the module list, I can't believe this is a universal rule
-- there are too many exceptions: DCE, Fwctl, NetAddr, NetPacket, RPC,
SNMP, etc. Interfaces to external libraries/programs are more often on
first level than not: GTop, Mon, Cdk, Curses, Shockwave, GnuPG, PGP,
RPM, Gimp, any many more.

Aaand ... Crypt::GCrypt sucks rocks, aesthetically.

Crypt itself is a big hodge-podge. Symmetric (Blowfish, DES, IDEA) and
asymmetric (ElGamal, RSA) ciphers, next to modes (CBC, ECB), along
with program/library interfaces (PGP, GPG, OpenSSL). GCrypt will
include digest as well, which seem to have their place in Digest, not
Crypt. Sigh.

-- 
Robbe

------------=_1041707316-888-0
Content-Type: application/pgp-signature; name="signature.ng"
Content-Disposition: inline; filename="signature.ng"
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+F0uA8g21h7wYWrMRAiWhAKCBHkqXfe5M9/XJ/T+YmvainnEuEQCgnGmt
ZoMImlYe5nDduNixB31bj+o=
=rlxn
-----END PGP SIGNATURE-----

------------=_1041707316-888-0--