Search
Preparing search index...
The search index is not available
ontology-ts-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"crypto/AnonymousCredential"
CryptoSuite
Class CryptoSuite
CryptoSuite contains everything in Paring Based Cryptography
Hierarchy
CryptoSuite
Index
Constructors
constructor
Properties
BIG
ECP
ECP2
PAIR
ctx
curve
g1
g2
order
rng
Methods
gen
AttrBN
gen
Attr
Element
get
G1Generator
get
G2Generator
get
Order
get
RandBN
get
Rand
G1
get
Rand
G2
hash
ToBN
Constructors
constructor
new
Crypto
Suite
(
curve
:
string
)
:
CryptoSuite
Parameters
curve:
string
Returns
CryptoSuite
Properties
BIG
BIG
:
any
ECP
ECP
:
any
ECP2
ECP2
:
any
PAIR
PAIR
:
any
ctx
ctx
:
any
curve
curve
:
string
g1
g1
:
any
g2
g2
:
any
order
order
:
any
rng
rng
:
any
Methods
gen
AttrBN
gen
AttrBN
(
attrs
:
any
)
:
any
Parameters
attrs:
any
Returns
any
gen
Attr
Element
gen
Attr
Element
(
attrs
:
any
)
:
any
Parameters
attrs:
any
Returns
any
get
G1Generator
get
G1Generator
(
)
:
any
Returns
any
get
G2Generator
get
G2Generator
(
)
:
any
Returns
any
get
Order
get
Order
(
)
:
any
Returns
any
get
RandBN
get
RandBN
(
)
:
any
Returns
any
get
Rand
G1
get
Rand
G1
(
)
:
any
Returns
any
get
Rand
G2
get
Rand
G2
(
)
:
any
Returns
any
hash
ToBN
hash
ToBN
(
...
points
:
any
[]
)
:
any
Parameters
Rest
...
points:
any
[]
Returns
any
Globals
"crypto/
Anonymous
Credential"
Credential
Crypto
Base
Crypto
Suite
constructor
BIG
ECP
ECP2
PAIR
ctx
curve
g1
g2
order
rng
gen
AttrBN
gen
Attr
Element
get
G1Generator
get
G2Generator
get
Order
get
RandBN
get
Rand
G1
get
Rand
G2
hash
ToBN
Issuer
Issuer
Public
Key
Secret
Key
User
Generated using
TypeDoc
CryptoSuite contains everything in Paring Based Cryptography