Answers for "bytes to base64 java"

0

base64 in java

String originalInput = "test input";
String encodedString = Base64.getEncoder().encodeToString(originalInput.getBytes());
Posted by: Guest on July-09-2021
0

64 encode java

byte[] encodedBytes = Base64.getEncoder().encode("Test".getBytes());
System.out.println("encodedBytes " + new String(encodedBytes));
byte[] decodedBytes = Base64.getDecoder().decode(encodedBytes);
System.out.println("decodedBytes " + new String(decodedBytes));
Posted by: Guest on August-09-2021

Code answers related to "bytes to base64 java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language