
me.saro.jwt.alg.hs.JwtHs256.kt Maven / Gradle / Ivy
package me.saro.jwt.alg.hs
import javax.crypto.Mac
class JwtHs256: JwtHs() {
override fun getKeyAlgorithm(): String = "HmacSHA256"
override fun getMac(): Mac = Mac.getInstance(getKeyAlgorithm())
override fun algorithm(): String = "HS256"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy