Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Adspromoter
ExtLibJ
Commits
5c4db9e2
Commit
5c4db9e2
authored
Feb 08, 2021
by
zeroleak
Browse files
AESUtil.encrypt(): always use UTF-8 for String encoding
parent
499bb10e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
java/com/samourai/wallet/crypto/AESUtil.java
java/com/samourai/wallet/crypto/AESUtil.java
+1
-1
No files found.
java/com/samourai/wallet/crypto/AESUtil.java
View file @
5c4db9e2
...
...
@@ -162,7 +162,7 @@ public class AESUtil {
// String ret = Base64.encodeBase64String(ivAppended);
byte
[]
raw
=
Base64
.
encodeBase64
(
ivAppended
);
return
new
String
(
raw
);
return
new
String
(
raw
,
"UTF-8"
);
}
private
static
byte
[]
cipherData
(
BufferedBlockCipher
cipher
,
byte
[]
data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment