mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
15 lines
460 B
Markdown
15 lines
460 B
Markdown
|
```python
|
||
|
def Sign(SK: int, message: Bytes) -> BLSSignature
|
||
|
```
|
||
|
```python
|
||
|
def Verify(PK: BLSPubkey, message: Bytes, signature: BLSSignature) -> bool
|
||
|
```
|
||
|
```python
|
||
|
def AggregateVerify(pairs: Sequence[PK: BLSPubkey, message: Bytes], signature: BLSSignature) -> bool
|
||
|
```
|
||
|
```python
|
||
|
def FastAggregateVerify(PKs: Sequence[BLSPubkey], message: Bytes, signature: BLSSignature) -> bool
|
||
|
```
|
||
|
```python
|
||
|
def Aggregate(signatures: Sequence[BLSSignature]) -> BLSSignature
|
||
|
```
|