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.
		
		
		
		
		
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			502 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			18 lines
		
	
	
		
			502 B
		
	
	
	
		
			TypeScript
		
	
| export interface LibTextsecureCryptoInterface {
 | |
|   encryptAttachment(
 | |
|     plaintext: ArrayBuffer,
 | |
|     keys: ArrayBuffer,
 | |
|     iv: ArrayBuffer
 | |
|   ): Promise<{
 | |
|     digest: ArrayBuffer;
 | |
|     ciphertext: ArrayBuffer;
 | |
|   }>;
 | |
|   decryptAttachment(
 | |
|     encryptedBin: ArrayBuffer,
 | |
|     keys: ArrayBuffer,
 | |
|     theirDigest: ArrayBuffer
 | |
|   ): Promise<ArrayBuffer>;
 | |
|   decryptProfile(data: ArrayBuffer, key: ArrayBuffer): Promise<ArrayBuffer>;
 | |
|   encryptProfile(data: ArrayBuffer, key: ArrayBuffer): Promise<ArrayBuffer>;
 | |
| }
 |