Skip to content

Commit 0882a08

Browse files
committed
Added xor as part of rsa encryption
Signed-off-by: S V <vats02581@gmail.com>
1 parent 4b4fe51 commit 0882a08

File tree

1 file changed

+1
-1
lines changed
  • r2dbc-mysql/src/main/java/io/asyncer/r2dbc/mysql/authentication

1 file changed

+1
-1
lines changed

r2dbc-mysql/src/main/java/io/asyncer/r2dbc/mysql/authentication/AuthUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private static byte[] allBytesXor(byte[] left, byte[] right) {
115115

116116
static byte[] rotatingXor(byte[] password, byte[] seedBytes) {
117117
int seedLength = seedBytes.length;
118-
118+
119119
for (int i = 0; i < password.length; i++) {
120120
password[i] ^= seedBytes[i % seedLength];
121121
}

0 commit comments

Comments
 (0)