Reputation: 6591
HI i need to perform HMACSHA256 encryption please help me;
sha256 = MessageDigest.getInstance("HMACSHA1"); //I get exception in this line (No algorithm found)
Upvotes: 1
Views: 7034
Reputation: 41958
Mac hmacSha256 = Mac.getInstance("hmacSHA256");
Hashing and Mac-ing are not encryption.
Upvotes: 8