Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

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
    
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
add comment

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.

1 Answer

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
add comment

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