Merge pull request #41 from ChainSafe/cayman/fromKeygen-ikm
Optional ikm param for bls.PrivateKey.fromKeygen
This commit is contained in:
commit
3bb136cfcc
|
@ -2,7 +2,7 @@ export interface IBls {
|
||||||
PrivateKey: {
|
PrivateKey: {
|
||||||
fromBytes(bytes: Uint8Array): IPrivateKey;
|
fromBytes(bytes: Uint8Array): IPrivateKey;
|
||||||
fromHex(hex: string): IPrivateKey;
|
fromHex(hex: string): IPrivateKey;
|
||||||
fromKeygen(): IPrivateKey;
|
fromKeygen(ikm?: Uint8Array): IPrivateKey;
|
||||||
};
|
};
|
||||||
PublicKey: {
|
PublicKey: {
|
||||||
fromBytes(bytes: Uint8Array): IPublicKey;
|
fromBytes(bytes: Uint8Array): IPublicKey;
|
||||||
|
|
Reference in New Issue