Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #encode #java
ADD COMMENT
Topic
Name
4+9 =