• Used for BLS encryption

    Supports:

    • 12381G2
    • 12381G1

    Parameters

    • variant: BlsVariant
    • encryption_key: Uint8Array
    • message: Uint8Array
    • identity: Uint8Array

    Returns Promise<Uint8Array>