@reclaimprotocol/attestor-core
Version:
<div> <div> <img src="https://raw.githubusercontent.com/reclaimprotocol/.github/main/assets/banners/Attestor-Core.png" /> </div> </div>
15 lines (14 loc) • 743 B
TypeScript
import type { EncryptionAlgorithm, OPRFOperator, ZKEngine, ZKOperator } from '@reclaimprotocol/zk-symmetric-crypto';
export declare const ALL_ENC_ALGORITHMS: EncryptionAlgorithm[];
/**
* The goal of this RPC operator is if the attestor client
* is running in a WebView, it can call the native
* application to perform the ZK operations
*/
export declare function makeExternalRpcZkOperator(algorithm: EncryptionAlgorithm, zkEngine?: ZKEngine): ZKOperator;
/**
* The goal of this RPC operator is if the attestor client
* is running in a WebView, it can call the native
* application to perform the OPRF operations
*/
export declare function makeExternalRpcOprfOperator(algorithm: EncryptionAlgorithm, zkEngine?: ZKEngine): OPRFOperator;