2 * Worldvisions Tunnel Vision Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
5 * Miscellaneous cryptography primitives.
10 #include "wvencoder.h"
14 /** A very simple stream that returns randomness from /dev/urandom */
15 class WvRandomStream
: public WvFile
21 class WvCryptoEncoder
: public WvEncoder
25 * Sets the current TripleDES keys and resets the initialization
26 * vector to all nulls.
28 * "key[1-3]" are the new keys
30 virtual void setkey(const void *_key
)
35 virtual void setkey(const void *_key1
, const void *_key2
,
42 * Sets the current TripleDES initialization vector.
44 * "iv" is the new IV must be 8 bytes
46 virtual void setiv(const void *iv
)
54 #endif // __WVCRYPTO_H