Skip to content

Commit

Permalink
Detekt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pun-ky committed Apr 27, 2021
1 parent e3e181e commit 4e5ce92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal class Encryption private constructor(private val ecipher: Cipher, priva
try {
val utf8 = text.toByteArray(charset(CHARSET))
val enc = ecipher.doFinal(utf8)
return "${TOKEN_START}${encode(enc)}${TOKEN_END}"
return "${TOKEN_START}${encode(enc)}$TOKEN_END"
} catch (e: Exception) {
throw ForkException("Encryption failed", e)
}
Expand Down

0 comments on commit 4e5ce92

Please sign in to comment.