summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-08-29 19:54:03 -0400
committerrsiddharth <s@ricketyspace.net>2020-08-29 19:54:03 -0400
commited26b39e82cee901c785c13e3d1b669fbb502e14 (patch)
tree035335592cd1810b7ef30d0e0f4712c629ff2be8 /lib
parentbb5154bd593c186cbb225e44a2d3ead3c2c259d5 (diff)
lib/xor.go: FixedXOR: add doc string.
Diffstat (limited to 'lib')
-rw-r--r--lib/xor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xor.go b/lib/xor.go
index 270999c..ae2bd12 100644
--- a/lib/xor.go
+++ b/lib/xor.go
@@ -3,6 +3,7 @@
package lib
+// Both 'a' and 'b' must be hex encoded string.
func FixedXOR(a, b string) string {
cs := ""
if len(a) != len(b) {