~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 22:33:16 UTC
  • Revision ID: git-v1:72df4f3fdd1f779adf7358468417dbcd7f9f59db
Every block we get is now stored.

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):