嗨,我需要执行HMACSHA256加密,请帮助我;
sha256 = MessageDigest.getInstance("HMACSHA1"); //I get exception in this line (No algorithm found)
最佳答案
Mac hmacSha256 = Mac.getInstance("hmacSHA256");
哈希和Macing不加密。
关于java - JAVA -HMACSHA256,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5177072/