You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
404 B
TypeScript
15 lines
404 B
TypeScript
5 years ago
|
import { CipherTextObject } from '../../../window/types/libsignal-protocol';
|
||
|
|
||
|
export class SessionCipherBasicStub {
|
||
|
public storage: any;
|
||
|
public address: any;
|
||
|
constructor(storage: any, address: any) {
|
||
|
this.storage = storage;
|
||
|
this.address = address;
|
||
|
}
|
||
|
|
||
|
public async encrypt(buffer: ArrayBuffer | Uint8Array): Promise<CipherTextObject> {
|
||
|
throw new Error('Should stub this out');
|
||
|
}
|
||
|
}
|