开发者

JAVA -HMACSHA256

HI i need t开发者_如何学Pythono perform HMACSHA256 encryption please help me;

 sha256 = MessageDigest.getInstance("HMACSHA1"); //I get exception in this line (No algorithm found)


Mac hmacSha256 = Mac.getInstance("hmacSHA256");

Hashing and Mac-ing are not encryption.


try:

sha256 = MessageDigest.getInstance("HMAC-SHA1");

Proof link

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜