Kind: global class
this: {BLS256}
Creates an instance of BLS256
Convert byte array to string
Kind: static method of BLS256
Returns: string
this: {BLS192}
Parameter: b byte array
Convert string to byte array
Kind: static method of BLS256
Returns: byte array
this: {BLS192}
Parameter: s string
hash a message to an ECP point, using SHA3
Kind: static method of BLS256
Returns: ECP point
this: {BLS192}
Parameter: m message to be hashedstring
Generate key pair
Kind: static method of BLS256
Returns: Error code
this: {BLS192}
Parameter: rng Cryptographically Secure Random Number Generator
Parameter: S Private key
Parameter: W Public key
Sign message
Kind: static method of BLS256
Returns: Error code
this: {BLS192}
Parameter: SIG Singature
Parameter: m Message to sign
Parameter: S Private key
Verify message
Kind: static method of BLS256
Returns: Error code
this: {BLS192}
Parameter: SIG Signature
Parameter: m Message to sign
Parameter: W Public key
R=R1+R2 in group G1
Kind: static method of BLS256
Returns: Error code
this: {BLS192}
Parameter: R1 G1 Point
Parameter: R2 G1 Point
Parameter: R G1 Point
W=W1+W2 in group G2
Kind: static method of BLS256
Returns: Error code
this: {BLS192}
Parameter: W1 G2 Point
Parameter: W2 G2 Point
Parameter: R G2 Point