Last active
August 21, 2022 14:26
-
-
Save jefisu/ee4fd5a01079b146d783646cd5485ea0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add dependency | |
implementation "commons-codec:commons-codec:1.15" | |
import org.apache.commons.codec.digest.DigestUtils | |
fun generateSHA512(input: String) = DigestUtils.sha512Hex(input) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment