[bind10-dev] crypto API
Michael Graff
mgraff at isc.org
Thu Feb 25 16:40:32 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2010-02-25 10:20 AM, Francis Dupont wrote:
> The main question is inheritance vs embedding, i.e., if class X uses
> class Y do we want:
> class X : Y
> or
> class X {
> Y y;
> }
This is usually answered in this way:
If X "is a" Y, then you write:
class X : Y
If X "has a " Y, then you write:
class X {
Y y;
}
> Now we need:
> - raw hash (at the top of most things)
> - keyed hash
> - HMAC (a case of keyed hash)
> - iterated hash (a more complex case of keyed hash)
> - signature public key (derives from raw hash)
> - signature private key (which includes the previous one)
> - DH?
Let's look into crypto++ and not write our own.
http://www.cryptopp.com/
- --Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuGqAAACgkQ+NNi0s9NRJ0kFQCfTV6wg4sZNEB4BKtJVyCD37+M
OS4AnR7SwqiAGuzde0RyaoA5CaD+8Hmc
=4aat
-----END PGP SIGNATURE-----
More information about the bind10-dev
mailing list