Optional ikm param for bls.PrivateKey.fromKeygen

This commit is contained in:
Cayman 2020-11-29 15:25:18 -06:00
parent 138b6de063
commit d743d95487
No known key found for this signature in database
GPG Key ID: 54B21AEC3C53E1F5
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ export interface IBls {
PrivateKey: {
fromBytes(bytes: Uint8Array): IPrivateKey;
fromHex(hex: string): IPrivateKey;
fromKeygen(): IPrivateKey;
fromKeygen(ikm?: Uint8Array): IPrivateKey;
};
PublicKey: {
fromBytes(bytes: Uint8Array): IPublicKey;