From 729d2ca2ba991b0a26d9a58acff1664b34b1002c Mon Sep 17 00:00:00 2001 From: Arceliar Date: Fri, 29 Nov 2019 17:14:27 -0600 Subject: [PATCH] Update crypto.go --- src/crypto/crypto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/crypto.go b/src/crypto/crypto.go index e084d713..3a6e02d1 100644 --- a/src/crypto/crypto.go +++ b/src/crypto/crypto.go @@ -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) {