This repository was archived by the owner on Nov 2, 2018. It is now read-only.
File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ const (
20
20
)
21
21
22
22
var (
23
- // ErrInsufficientLen is an error when supplied ciphertext is not
24
- // long enough to contain a nonce.
23
+ // ErrInsufficientLen is an error when supplied ciphertext is not
24
+ // long enough to contain a nonce.
25
25
ErrInsufficientLen = errors .New ("supplied ciphertext is not long enough to contain a nonce" )
26
26
)
27
27
@@ -100,7 +100,7 @@ func (c Ciphertext) MarshalJSON() ([]byte, error) {
100
100
return json .Marshal ([]byte (c ))
101
101
}
102
102
103
- // UnmarshalJSON parses the JSON-encoded b and returns an instance of
103
+ // UnmarshalJSON parses the JSON-encoded b and returns an instance of
104
104
// CipherText.
105
105
func (c * Ciphertext ) UnmarshalJSON (b []byte ) error {
106
106
var umarB []byte
Original file line number Diff line number Diff line change @@ -19,21 +19,21 @@ import (
19
19
)
20
20
21
21
const (
22
- // HashSize is the length of a Hash in bytes.
22
+ // HashSize is the length of a Hash in bytes.
23
23
HashSize = 32
24
24
)
25
25
26
26
type (
27
- // Hash is a BLAKE2b 256-bit digest.
27
+ // Hash is a BLAKE2b 256-bit digest.
28
28
Hash [HashSize ]byte
29
29
30
30
// HashSlice is used for sorting
31
31
HashSlice []Hash
32
32
)
33
33
34
34
var (
35
- // ErrHashWrongLen is the error when encoded value has the wrong
36
- // length to be a hash.
35
+ // ErrHashWrongLen is the error when encoded value has the wrong
36
+ // length to be a hash.
37
37
ErrHashWrongLen = errors .New ("encoded value has the wrong length to be a hash" )
38
38
)
39
39
You can’t perform that action at this time.
0 commit comments