Attribute-based cryptography 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?
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.