diff --git a/src/crypto/verification/QRCode.ts b/src/crypto/verification/QRCode.ts index cafb5a315..5b4c45dda 100644 --- a/src/crypto/verification/QRCode.ts +++ b/src/crypto/verification/QRCode.ts @@ -192,6 +192,10 @@ export class QRCodeData { return this.sharedSecret; } + public getBuffer(): Buffer { + return this.buffer; + } + private static generateSharedSecret(): string { const secretBytes = new Uint8Array(11); global.crypto.getRandomValues(secretBytes);