Skip to content

Commit

Permalink
chore: use go-faster/xor
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Nov 13, 2021
1 parent 8d87867 commit 3d9fd1a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion decrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ige
import (
"crypto/cipher"

"github.com/gotd/xor"
"github.com/go-faster/xor"
)

// NewIGEDecrypter returns an IGE cipher.BlockMode which decrypts using IGE and
Expand Down
2 changes: 1 addition & 1 deletion encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ige
import (
"crypto/cipher"

"github.com/gotd/xor"
"github.com/go-faster/xor"
)

// NewIGEEncrypter returns an IGE cipher.BlockMode which encrypts using IGE and
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/gotd/ige

go 1.15

require github.com/gotd/xor v0.1.1
require github.com/go-faster/xor v0.3.0
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/gotd/xor v0.1.1 h1:LSPEeuf7noTo4fi4PrEsAaWXOSwjsY2e+IINPiR+c7s=
github.com/gotd/xor v0.1.1/go.mod h1:ZTmdgqf6SOHder8/MFp9CNkXIadzID5lIiaZxRZICH0=
github.com/go-faster/xor v0.3.0 h1:tc0bdVe31Wj999e5rEj7K3DhHyQNp2VydYyLFj3YSN8=
github.com/go-faster/xor v0.3.0/go.mod h1:x5CaDY9UKErKzqfRfFZdfu+OSTfoZny3w5Ak7UxcipQ=

0 comments on commit 3d9fd1a

Please sign in to comment.