java base64 decrypt script

Solutions on MaxInterview for java base64 decrypt script by the best coders in the world

showing results for - "java base64 decrypt script"
Florian
28 Nov 2020
1import java.util.Base64;
2
3class Base64Decode {
4  public static void main(String[] args) {
5    String b64 = "Z3VydQ==";
6    byte[] decoder = Base64.getDecoder().decode(b64);
7    String str = new String(decoder);
8    System.out.println(str); //-> "guru"
9  }
10}
similar questions
queries leading to this page
java base64 decrypt script