Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create a social network, in which I want to use attribute-based cryptography. One professor told me it is possible to do it only in J2EE, but he can barely code! Some friends of mine suggested using .NET.

I know through research that both are feasible, but since it is going to be a web-based application I was wondering if it would be possible to do it in PHP. Does anyone know? I can't find any material regarding this.

Is it difficult to implement algorithms in PHP? Can I implement AES or other symmetric algorithms in PHP? OR should I just stick to .NET?

share|improve this question

closed as primarily opinion-based by D.W., rath, e-sushi, mikeazo Oct 3 '13 at 0:34

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

Your question boils down to what language to use, if certain languages are better than others for implementing ABE, etc. This isn't really on topic here and is primarily opinion based. – mikeazo Oct 3 '13 at 0:34

If you need something that already exists, have a look at the advanced Crypto software collection and specifically cpabe — which implements ciphertext-policy attribute-based encryption scheme that uses C and PBC library for pairings.

share|improve this answer
In my readings, I have found MIRACL and the PBC you mentioned used in ABE. But it still brings me back to how I can use it... – Philips_h Oct 3 '13 at 2:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.