BbsFlutter class
A Flutter plugin for working with cryptographic operations in BBS signature schemes.
The BbsFlutter
class acts as a bridge between Flutter code and the native platform implementations
(through the MethodChannel
). It provides cryptographic utilities for managing keys, creating proofs,
and working directly with BLS and BBS public keys in the context of BBS+ signatures.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
blsCreateProof(
{required Uint8List publicKey, required Uint8List nonce, required Uint8List signature, required List< ProofMessage> messages}) → Future<Uint8List> - Creates a zero-knowledge proof using BLS with specified ProofMessage objects.
-
blsPublicToBbsPublicKey(
{required Uint8List blsPublicKey, required int messages}) → Future< Uint8List> - Converts a BLS12-381 public key to a BBS+ public key for a given number of messages.
-
createProof(
{required Uint8List publicKey, required Uint8List nonce, required Uint8List signature, required List< Map< messages}) → Future<String, dynamic> >Uint8List> - Creates a zero-knowledge proof using BBS+.
-
generateBls12381G1Key(
Uint8List seed) → Future< Map< String, Uint8List> > - Generates a BLS12-381 G1 key pair for use with BBS+ signatures.