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
		
	
	
		
			353 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			18 lines
		
	
	
		
			353 B
		
	
	
	
		
			TypeScript
		
	
| declare enum PairingTypeEnum {
 | |
|   REQUEST = 1,
 | |
|   GRANT,
 | |
| }
 | |
| 
 | |
| export interface CryptoInterface {
 | |
|   DHDecrypt: any;
 | |
|   DHEncrypt: any;
 | |
|   DecryptGCM: any; // AES-GCM
 | |
|   EncryptGCM: any; // AES-GCM
 | |
|   PairingType: PairingTypeEnum;
 | |
|   _decodeSnodeAddressToPubKey: any;
 | |
|   decryptToken: any;
 | |
|   encryptForPubkey: any;
 | |
|   generateEphemeralKeyPair: any;
 | |
|   sha512: any;
 | |
| }
 |