A method and system for providing attribute-based cryptography which include inputting a plurality of individual attribute-based data into a circuit that implements a cryptography policy, generating a secret key via the circuit based on the plurality of individual attribute-based data corresponding to the cryptography policy, receiving a message, and generating a digital signature or decrypting a ciphertext based on the secret key and based on the message. Each of the plurality of individual attribute-based data corresponds to an individual attribute.
展开▼