Uint8Array migration
This commit is contained in:
parent
daf75190b8
commit
4ef0bf96cc
137 changed files with 2202 additions and 3170 deletions
|
@ -10,9 +10,9 @@ import * as log from '../logging/log';
|
|||
|
||||
export async function generateSecurityNumber(
|
||||
ourNumber: string,
|
||||
ourKey: ArrayBuffer,
|
||||
ourKey: Uint8Array,
|
||||
theirNumber: string,
|
||||
theirKey: ArrayBuffer
|
||||
theirKey: Uint8Array
|
||||
): Promise<string> {
|
||||
const ourNumberBuf = Buffer.from(ourNumber);
|
||||
const ourKeyObj = PublicKey.deserialize(Buffer.from(ourKey));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue