Package io.jans.fido2.service
Class DigestService
- java.lang.Object
-
- io.jans.fido2.service.DigestService
-
@ApplicationScoped public class DigestService extends Object
Method to calculate digests
-
-
Constructor Summary
Constructors Constructor Description DigestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
hashSha256(byte[] bytes)
byte[]
hashSha256(String str)
-
-
-
Method Detail
-
hashSha256
public byte[] hashSha256(byte[] bytes)
-
hashSha256
public byte[] hashSha256(String str)
-
-