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.
		
		
		
		
		
			
		
			
	
	
		
			17 lines
		
	
	
		
			425 B
		
	
	
	
		
			TypeScript
		
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			425 B
		
	
	
	
		
			TypeScript
		
	
| 
								 
											5 years ago
										 
									 | 
							
								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>;
							 | 
						||
| 
								 | 
							
								}
							 |