Package Anomos :: Package Crypto
[hide private]
[frames] | no frames]

Package Crypto

source code

Submodules [hide private]

Classes [hide private]
  CryptoError
Functions [hide private]
 
get_rand(*args) source code
 
use_rand_file(function)
Decorator to ease use of a randfile which must be opened before crypto operations and closed afterwards
source code
 
init(data_dir)
Sets the directory in which to store crypto data/randfile
source code
Variables [hide private]
  global_cryptodir = None
  global_randfile = None
  global_dd = None
  global_certpath = None
Function Details [hide private]

init(data_dir)

source code 

Sets the directory in which to store crypto data/randfile

Parameters:
  • data_dir (string) - path to directory