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

前端 未结 5 1171
不知归路
不知归路 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 06:54

    While old post here is an updated answer. Java 8's Base64.

    Java 8 Base64 Documents

提交回复
热议问题