What does update method of MessageDigest do and what is BASE64Encoder meant for?

前端 未结 5 1161
不知归路
不知归路 2021-02-06 06:25

Following is a code that will encrypts the user String :

import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.No         


        
5条回答
  •  情书的邮戳
    2021-02-06 07:05

    Have a look at Apache Commons Codec: https://commons.apache.org/codec/

    E.g.: https://commons.apache.org/codec/api-release/org/apache/commons/codec/digest/DigestUtils.html

提交回复
热议问题