The invention relates to the technical field of
data security and privacy computing, and discloses a controllable function computing method for data circulation and utilization, which comprises the following steps of: constructing
system parameters based on a bilinear mapping group; according to the predicate vector and the function vector, generating a function decryption key containing a permission
verification and calculation component; generating a
ciphertext containing an attribute and data
confusion component according to the attribute vector and the
data vector; and carrying out orthogonality
verification on the
ciphertext by using the key, eliminating random interference only when the attribute and the predicate are orthogonal, executing
pairing operation, solving discrete logarithms, and obtaining an inner product of data and a function. According to the method, strict calculation permission control is achieved through an orthogonality
verification mechanism of bilinear pairings, meanwhile, attribute hiding and function hiding are achieved through randomized matrix transformation, specific inner product calculation is completed on the premise that
original data are not leaked, and data are available and invisible.