Base64 can easily be replaced with (Java 8)

// Encode 
String asB64 = Base64.getEncoder().encodeToString("some 
string".getBytes("utf-8"));
System.out.println(asB64); // Output will be: c29tZSBzdHJpbmc=

// Decode
byte[] asBytes = Base64.getDecoder().decode("c29tZSBzdHJpbmc=");
System.out.println(new String(asBytes, "utf-8")); // And the output is: some 
string

So for me +1 for removal. I don’t know about the other classes - maybe we need 
to discuss one by one.

kind regards

Tobias

> Am 13.11.2018 um 05:09 schrieb Maxim Solodovnik <[email protected]>:
> 
> Hello All,
> 
> I noticed there are some classes deprecated in 8.2.0 which exists in 9.0.0
> (For example org.apache.wicket.util.crypt.Base64)
> 
> I would like to remove them
> 
> Are there any objections?
> 
> -- 
> WBR
> Maxim aka solomax

Reply via email to