aboutsummaryrefslogtreecommitdiff
path: root/crypto/rand.go
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand.go')
-rw-r--r--crypto/rand.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand.go b/crypto/rand.go
index 0778ebd..736d969 100644
--- a/crypto/rand.go
+++ b/crypto/rand.go
@@ -44,7 +44,7 @@ func NewRandomBuffer(length int) ([]byte, error) {
}
// NewRandomKey creates a random key of the specified length. This function uses
-// the same random number generation process a NewRandomBuffer.
+// the same random number generation process as NewRandomBuffer.
func NewRandomKey(length int) (*Key, error) {
return NewFixedLengthKeyFromReader(randReader{}, length)
}