Skip to content

Commit c7a7c90

Browse files
committed
saltpack: Sender can be nil
1 parent a698049 commit c7a7c90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

saltpack/encrypt.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
)
1313

1414
// Encrypt to recipients.
15-
// Sender can be nil, if you want it to be anonymous.
16-
// https://saltpack.org/encryption-format-v2
15+
// Sender can be nil.
16+
// See https://saltpack.org/encryption-format-v2.
1717
func Encrypt(b []byte, armored bool, sender *keys.X25519Key, recipients ...keys.ID) ([]byte, error) {
1818
recs, err := boxPublicKeys(recipients)
1919
if err != nil {

0 commit comments

Comments
 (0)