File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
src/main/java/io/cryptolens/legacy Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 2929 <artifactId >oshi-core</artifactId >
3030 <version >5.3.1</version >
3131 </dependency >
32- <dependency >
33- <groupId >commons-codec</groupId >
34- <artifactId >commons-codec</artifactId >
35- <version >LATEST</version >
36- </dependency >
3732 </dependencies >
3833</project >
Original file line number Diff line number Diff line change 77
88
99import com .google .gson .*;
10- import org .apache .commons .codec .binary .BaseNCodec ;
1110
1211import java .math .BigInteger ;
1312import java .security .*;
Original file line number Diff line number Diff line change 11package io .cryptolens .legacy ;
22
3- import org . apache . commons . codec . binary .Base64 ;
3+ import java . util .Base64 ;
44
55public class Shared {
66
77 public static byte [] defaultBase64Decoder (String str ) {
8-
9- Base64 decoder = new Base64 ();
10- return decoder .decode (str .getBytes ());
8+ return Base64 .getDecoder ().decode (str ); // standard Base64
119 }
1210}
You can’t perform that action at this time.
0 commit comments