mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Update crypto.go
This commit is contained in:
		
							parent
							
								
									73f50af3b7
								
							
						
					
					
						commit
						729d2ca2ba
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -215,7 +215,7 @@ func GetSharedKey(myPrivKey *BoxPrivKey,
 | 
			
		|||
	return (*BoxSharedKey)(&shared)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// BoxOpen returns a message and true if it successful opens a crypto box using the provided shared key and nonce.
 | 
			
		||||
// BoxOpen returns a message and true if it successfully opens a crypto box using the provided shared key and nonce.
 | 
			
		||||
func BoxOpen(shared *BoxSharedKey,
 | 
			
		||||
	boxed []byte,
 | 
			
		||||
	nonce *BoxNonce) ([]byte, bool) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue