~vomun-developers/anonplus/vomun-trunk

« back to all changes in this revision

Viewing changes to src/libs/encryption/rsa.py

  • Committer: AJ00200
  • Date: 2011-11-25 21:30:53 UTC
  • Revision ID: git-v1:adec72eb3a3f154a85bce3e01e408b6e40b3d3da
Basic structure for database storage. Also added a start function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
import Crypto.PublicKey.RSA
7
7
import hashlib
8
8
import json
9
 
import libs
 
9
import libs.config
10
10
 
11
 
KEY_PATH = libs.config['keyfile']
 
11
KEY_PATH = libs.globals.global_vars['config']['keyfile']
12
12
keys = {}
13
13
 
14
14
class Encryption(object):