From 99301b15e5b6e62a01ddbeeafedca10807c0c9e0 Mon Sep 17 00:00:00 2001
From: Spencer Brown <spencer@privategrity.com>
Date: Wed, 14 Nov 2018 14:54:37 -0800
Subject: [PATCH] Add missing copyright headers and remove cosmetic mentions of
 Privategrity

---
 README.md                       | 2 +-
 blockchain/block.go             | 6 ++++++
 blockchain/block_test.go        | 6 ++++++
 blockchain/lifecycle.go         | 6 ++++++
 coin/base.go                    | 6 ++++++
 coin/base_test.go               | 6 ++++++
 coin/coin.go                    | 6 ++++++
 coin/coin_test.go               | 6 ++++++
 coin/compound.go                | 6 ++++++
 coin/compound_test.go           | 6 ++++++
 coin/denomination.go            | 6 ++++++
 coin/denomination_test.go       | 6 ++++++
 coin/mint.go                    | 6 ++++++
 coin/mint_test.go               | 6 ++++++
 coin/seed.go                    | 6 ++++++
 coin/seed_test.go               | 7 ++++++-
 coin/sleeve.go                  | 6 ++++++
 coin/sleeve_test.go             | 6 ++++++
 cyclic/group.go                 | 6 ++++++
 cyclic/group_test.go            | 6 ++++++
 cyclic/int.go                   | 6 ++++++
 cyclic/int_test.go              | 6 ++++++
 cyclic/random.go                | 6 ++++++
 cyclic/random_test.go           | 6 ++++++
 cyclic/shuffle.go               | 6 ++++++
 cyclic/shuffle_test.go          | 6 ++++++
 diffieHellman/dhkx.go           | 6 ++++++
 diffieHellman/dhkx_test.go      | 6 ++++++
 format/messagePayload.go        | 6 ++++++
 format/messagePayload_test.go   | 6 ++++++
 format/onboarding.go            | 6 ++++++
 format/recipientPayload.go      | 6 ++++++
 format/recipientPayload_test.go | 6 ++++++
 format/registrationCode.go      | 6 ++++++
 format/registrationCode_test.go | 6 ++++++
 forward/keys.go                 | 6 ++++++
 forward/keys_test.go            | 6 ++++++
 hash/hash.go                    | 6 ++++++
 hash/hash_test.go               | 6 ++++++
 id/id_test.go                   | 6 ++++++
 messaging/README.md             | 2 +-
 shuffle/shuffle.go              | 6 ++++++
 shuffle/shuffle_test.go         | 6 ++++++
 verification/mic.go             | 6 ++++++
 verification/mic_test.go        | 6 ++++++
 45 files changed, 260 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 63aa803c..9884c0ef 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-privategrity/crypto
+elixxir/crypto
 -------------------
 
 [![pipeline status](https://gitlab.com/elixxir/crypto/badges/master/pipeline.svg)](https://gitlab.com/elixxir/crypto/commits/master)
diff --git a/blockchain/block.go b/blockchain/block.go
index b7a2aee2..2ecdc984 100644
--- a/blockchain/block.go
+++ b/blockchain/block.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package blockchain
 
 import (
diff --git a/blockchain/block_test.go b/blockchain/block_test.go
index 63dd6ea4..0e3b82cc 100644
--- a/blockchain/block_test.go
+++ b/blockchain/block_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package blockchain
 
 import (
diff --git a/blockchain/lifecycle.go b/blockchain/lifecycle.go
index 5aebcb3b..66bd77a4 100644
--- a/blockchain/lifecycle.go
+++ b/blockchain/lifecycle.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package blockchain
 
 import "errors"
diff --git a/coin/base.go b/coin/base.go
index 4d443a21..d6ae5666 100644
--- a/coin/base.go
+++ b/coin/base.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/base_test.go b/coin/base_test.go
index e7949953..f3db9d2b 100644
--- a/coin/base_test.go
+++ b/coin/base_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/coin.go b/coin/coin.go
index 18243dcb..e69ce337 100644
--- a/coin/coin.go
+++ b/coin/coin.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 // An individual coin in the system
diff --git a/coin/coin_test.go b/coin/coin_test.go
index e91a101a..1c72c039 100644
--- a/coin/coin_test.go
+++ b/coin/coin_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/compound.go b/coin/compound.go
index 00a1359d..f9d0db73 100644
--- a/coin/compound.go
+++ b/coin/compound.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/compound_test.go b/coin/compound_test.go
index f35d35db..2177fffc 100644
--- a/coin/compound_test.go
+++ b/coin/compound_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/denomination.go b/coin/denomination.go
index ec16a8fb..eaeea3a1 100644
--- a/coin/denomination.go
+++ b/coin/denomination.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/denomination_test.go b/coin/denomination_test.go
index 6bcaca20..8536a914 100644
--- a/coin/denomination_test.go
+++ b/coin/denomination_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/mint.go b/coin/mint.go
index 2ddfb841..459eca1f 100644
--- a/coin/mint.go
+++ b/coin/mint.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/mint_test.go b/coin/mint_test.go
index 3b1942ce..f6b46d44 100644
--- a/coin/mint_test.go
+++ b/coin/mint_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/seed.go b/coin/seed.go
index aebd8315..85ff37b0 100644
--- a/coin/seed.go
+++ b/coin/seed.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/seed_test.go b/coin/seed_test.go
index 0f8d4405..f5f2e615 100644
--- a/coin/seed_test.go
+++ b/coin/seed_test.go
@@ -1,7 +1,12 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
-	//"math"
 	"math"
 	"math/rand"
 	"reflect"
diff --git a/coin/sleeve.go b/coin/sleeve.go
index 5b457d2e..55f22329 100644
--- a/coin/sleeve.go
+++ b/coin/sleeve.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/coin/sleeve_test.go b/coin/sleeve_test.go
index 99e00506..9c068c8e 100644
--- a/coin/sleeve_test.go
+++ b/coin/sleeve_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package coin
 
 import (
diff --git a/cyclic/group.go b/cyclic/group.go
index 1d698422..988754ab 100644
--- a/cyclic/group.go
+++ b/cyclic/group.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package cyclic
 
 import (
diff --git a/cyclic/group_test.go b/cyclic/group_test.go
index f789483c..4d389324 100644
--- a/cyclic/group_test.go
+++ b/cyclic/group_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package cyclic
 
 import (
diff --git a/cyclic/int.go b/cyclic/int.go
index 6da2a283..bfcebb21 100644
--- a/cyclic/int.go
+++ b/cyclic/int.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package cyclic
 
 import (
diff --git a/cyclic/int_test.go b/cyclic/int_test.go
index 98c4d728..7d9c76c2 100644
--- a/cyclic/int_test.go
+++ b/cyclic/int_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package cyclic
 
 import (
diff --git a/cyclic/random.go b/cyclic/random.go
index 594da01e..4343d908 100644
--- a/cyclic/random.go
+++ b/cyclic/random.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package cyclic
 
 import (
diff --git a/cyclic/random_test.go b/cyclic/random_test.go
index 461dbaae..2c47bcc8 100644
--- a/cyclic/random_test.go
+++ b/cyclic/random_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package cyclic
 
 import (
diff --git a/cyclic/shuffle.go b/cyclic/shuffle.go
index 9dbe2a83..dff6d1db 100644
--- a/cyclic/shuffle.go
+++ b/cyclic/shuffle.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package cyclic
 
 import "math"
diff --git a/cyclic/shuffle_test.go b/cyclic/shuffle_test.go
index 1de465d7..b0a0a4d9 100644
--- a/cyclic/shuffle_test.go
+++ b/cyclic/shuffle_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package cyclic
 
 import (
diff --git a/diffieHellman/dhkx.go b/diffieHellman/dhkx.go
index 6c261208..0f404df2 100644
--- a/diffieHellman/dhkx.go
+++ b/diffieHellman/dhkx.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package diffieHellman
 
 import (
diff --git a/diffieHellman/dhkx_test.go b/diffieHellman/dhkx_test.go
index ef610136..e6a5312a 100644
--- a/diffieHellman/dhkx_test.go
+++ b/diffieHellman/dhkx_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package diffieHellman
 
 import (
diff --git a/format/messagePayload.go b/format/messagePayload.go
index 93e287b3..3bc39d9a 100644
--- a/format/messagePayload.go
+++ b/format/messagePayload.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package format
 
 import (
diff --git a/format/messagePayload_test.go b/format/messagePayload_test.go
index 2dfef8a4..742fc210 100644
--- a/format/messagePayload_test.go
+++ b/format/messagePayload_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package format
 
 import (
diff --git a/format/onboarding.go b/format/onboarding.go
index b8ef12c2..0852c9b9 100644
--- a/format/onboarding.go
+++ b/format/onboarding.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package format
 
 type OnboardPackage struct {
diff --git a/format/recipientPayload.go b/format/recipientPayload.go
index 8a8e69d7..b669feaf 100644
--- a/format/recipientPayload.go
+++ b/format/recipientPayload.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package format
 
 import (
diff --git a/format/recipientPayload_test.go b/format/recipientPayload_test.go
index 8f2b8ef5..97ce885f 100644
--- a/format/recipientPayload_test.go
+++ b/format/recipientPayload_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package format
 
 import (
diff --git a/format/registrationCode.go b/format/registrationCode.go
index f229956d..0e1b23eb 100644
--- a/format/registrationCode.go
+++ b/format/registrationCode.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package format
 
 import (
diff --git a/format/registrationCode_test.go b/format/registrationCode_test.go
index 404de93a..cd84a386 100644
--- a/format/registrationCode_test.go
+++ b/format/registrationCode_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package format
 
 import (
diff --git a/forward/keys.go b/forward/keys.go
index 35e38a51..cde9334b 100644
--- a/forward/keys.go
+++ b/forward/keys.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package forward
 
 import (
diff --git a/forward/keys_test.go b/forward/keys_test.go
index f0154872..59494556 100644
--- a/forward/keys_test.go
+++ b/forward/keys_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package forward
 
 import (
diff --git a/hash/hash.go b/hash/hash.go
index 42f486eb..dd6b498f 100644
--- a/hash/hash.go
+++ b/hash/hash.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package hash
 
 import (
diff --git a/hash/hash_test.go b/hash/hash_test.go
index 6dbb5122..20698c38 100644
--- a/hash/hash_test.go
+++ b/hash/hash_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package hash
 
 import (
diff --git a/id/id_test.go b/id/id_test.go
index ff948431..4536d7a1 100644
--- a/id/id_test.go
+++ b/id/id_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package id
 
 import (
diff --git a/messaging/README.md b/messaging/README.md
index e6ac78dc..0d4a5278 100644
--- a/messaging/README.md
+++ b/messaging/README.md
@@ -1,4 +1,4 @@
-# privategrity/crypto/messaging
+# elixxir/crypto/messaging
 
 TBD: This is a proposed redesign and is aspirational at the moment.
 
diff --git a/shuffle/shuffle.go b/shuffle/shuffle.go
index fefa2bb2..c5288c9c 100644
--- a/shuffle/shuffle.go
+++ b/shuffle/shuffle.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package shuffle
 
 import (
diff --git a/shuffle/shuffle_test.go b/shuffle/shuffle_test.go
index 495fdca9..9a6d5bf3 100644
--- a/shuffle/shuffle_test.go
+++ b/shuffle/shuffle_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package shuffle
 
 import (
diff --git a/verification/mic.go b/verification/mic.go
index 3d2607ae..b9227b9f 100644
--- a/verification/mic.go
+++ b/verification/mic.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package verification
 
 import (
diff --git a/verification/mic_test.go b/verification/mic_test.go
index eafbbfb1..f84205ba 100644
--- a/verification/mic_test.go
+++ b/verification/mic_test.go
@@ -1,3 +1,9 @@
+////////////////////////////////////////////////////////////////////////////////
+// Copyright © 2018 Privategrity Corporation                                   /
+//                                                                             /
+// All rights reserved.                                                        /
+////////////////////////////////////////////////////////////////////////////////
+
 package verification
 
 import "testing"
-- 
GitLab