我正在尝试对SHA256的Base64编码进行解码以对SHA256进行哈希处理
(数据库中SHA256的Base64编码) qcvcu40M9h9UH9rkrCjjT3CujLyDj / XPD / OMIHGX2PY =(44长度)
将其转换为SHA256哈希 1751f72c730da90e3c6f88ab900c61f491d57d98d148e309d1704141e1b4e586(64个长度)
---无效代码-
字符串值=“ qcvcu40M9h9UH9rkrCjjT3CujLyDj / XPD / OMIHGX2PY =”;
byte []解码= Base64.decodeBase64(value);
value = new String(decode,Charset.forName(“ UTF-8”));