Skip to content

Commit

Permalink
🎨 format
Browse files Browse the repository at this point in the history
  • Loading branch information
XiYang6666 committed Aug 8, 2024
1 parent 329a372 commit 699a28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/xyz/xasmc/hashbook/util/HashUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package xyz.xasmc.hashbook.util
import java.security.MessageDigest

object HashUtil {
val md = MessageDigest.getInstance("SHA-256")
private val md = MessageDigest.getInstance("SHA-256")

@OptIn(ExperimentalStdlibApi::class)
fun hashString(str: String): String {
Expand Down

0 comments on commit 699a28e

Please sign in to comment.