toip.tools

function · Browser and Node

fieldFromHex

Reads fieldToHex's form. Throws on anything else, and at or above the modulus.

@toip-tools/anon-membershipView source
TypeScriptImport
import { fieldFromHex } from "@toip-tools/anon-membership";

Declaration

TypeScriptSignature
fieldFromHex(hex: string): Field;

Parameters

hexrequired
string

Returns

bigint