Make 1 the minimum registration ID
This commit is contained in:
parent
e20ec013f5
commit
5219cdf2c9
4 changed files with 30 additions and 26 deletions
|
@ -119,6 +119,10 @@ export class Crypto {
|
|||
return Buffer.concat([decipher.update(input), decipher.final()]);
|
||||
}
|
||||
|
||||
public randomInt(min: number, max: number): number {
|
||||
return crypto.randomInt(min, max);
|
||||
}
|
||||
|
||||
public getRandomBytes(size: number): Uint8Array {
|
||||
return crypto.randomBytes(size);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue