github.com/hyperledger/aries-framework-go@v0.3.2/pkg/crypto/tinkcrypto/primitive/cl/subtle/cl_blinder.go (about) 1 //go:build ursa 2 // +build ursa 3 4 /* 5 Copyright Avast Software. All Rights Reserved. 6 7 SPDX-License-Identifier: Apache-2.0 8 */ 9 10 package subtle 11 12 import ( 13 "github.com/hyperledger/aries-framework-go/component/kmscrypto/crypto/tinkcrypto/primitive/cl/subtle" 14 ) 15 16 // CLBlinder is used for blinding CL MasterSecret with arbitrary values. 17 type CLBlinder = subtle.CLBlinder 18 19 // NewCLBlinder creates a new instance of CL Blinder with the provided privateKey. 20 func NewCLBlinder(key []byte) (*CLBlinder, error) { 21 return subtle.NewCLBlinder(key) 22 }