Questions tagged [charm-crypto]

Charm is a framework for rapidly prototyping advanced cryptosystems in Python.

Charm is a framework for rapidly prototyping advanced cryptosystems in Python.

References:

35 questions
0
votes
2 answers

Python: No JSON object could be decoded

I am developing a charm library cryptography program. So I create some files during a crypto proccess: This is the first form of the file: {'S':…
PL13
  • 393
  • 2
  • 5
  • 13
0
votes
2 answers

ImportError: No module named toolbox.pairinggroup

I have installed charm cryptography library but when I try to run a file using this library I am getting error like: File "maabe_rw12.py", line 17, in from toolbox.pairinggroup import * ImportError: No module named…
0
votes
0 answers

How can i fix the following gmp library dependency error while trying to install Charm?

I am trying to install the Charm crypto python framework in Ubuntu 11.04 with python 2.7. The requirements say that I should have gmp version 5.* installed. I have successfully installed the gmp library and run all the tests. Also, after running $…
curious
  • 1,524
  • 6
  • 21
  • 45
-1
votes
2 answers

Charm-crypto how to do elementwise exponentiation in matrix?

I am working on a project for cryptography course working with Charm jhuisi link . I have two numpy matrix: V(2,3) belonging to ZR and M(3x2) belonging to G1. I want to bring V to G1, so I can exponentiate M^V. To perform this operation, in Charm I…
New Atech
  • 1
  • 3
-2
votes
2 answers

Bit-length of Key in Charm-Crypto

I'm using Charm-Crypto to understand the CP-ABE scheme. I'm testing this scheme: CPabe_BSW07Test. This is the code: from charm.schemes.abenc.abenc_bsw07 import CPabe_BSW07 from charm.toolbox.pairinggroup import PairingGroup,GT import unittest class…
Ellipticat
  • 198
  • 1
  • 4
  • 11
1 2
3