Answers for "java base64 decrypt script"

0

java base64 decrypt script

import java.util.Base64;

class Base64Decode {
  public static void main(String[] args) {
    String b64 = "Z3VydQ==";
    byte[] decoder = Base64.getDecoder().decode(b64);
    String str = new String(decoder);
    System.out.println(str); //-> "guru"
  }
}
Posted by: Guest on December-03-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language