@coti-io/coti-sdk-typescript
Version:
A library for encryption, decryption and cryptographic utilities for the COTI blockchain.
20 lines (19 loc) • 410 B
TypeScript
export type itBool = {
ciphertext: bigint;
signature: Uint8Array | string;
};
export type itUint = {
ciphertext: bigint;
signature: Uint8Array | string;
};
export type itString = {
ciphertext: {
value: Array<bigint>;
};
signature: Array<Uint8Array | string>;
};
export type ctBool = bigint;
export type ctUint = bigint;
export type ctString = {
value: Array<bigint>;
};