<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stampedlock on Devops Monk</title><link>https://devops-monk.com/tags/stampedlock/</link><description>Recent content in Stampedlock on Devops Monk</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 04 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://devops-monk.com/tags/stampedlock/index.xml" rel="self" type="application/rss+xml"/><item><title>New APIs: Base64, StampedLock, Nashorn JavaScript Engine</title><link>https://devops-monk.com/tutorials/java8/new-apis/</link><pubDate>Mon, 04 May 2026 00:00:00 +0000</pubDate><guid>https://devops-monk.com/tutorials/java8/new-apis/</guid><description>Base64 Before Java 8, Base64 encoding required a third-party library (Apache Commons Codec, Guava) or the internal sun.misc.BASE64Encoder class. Java 8 added java.util.Base64 to the standard library.
Three Encoders // Standard Base64 (RFC 4648) Base64.Encoder encoder = Base64.getEncoder(); Base64.Decoder decoder = Base64.getDecoder(); // URL-safe Base64 (replaces + with -, / with _) — safe in URLs and filenames Base64.Encoder urlEncoder = Base64.getUrlEncoder(); Base64.Decoder urlDecoder = Base64.getUrlDecoder(); // MIME Base64 (line-wrapped at 76 chars with CRLF — for email) Base64.</description></item></channel></rss>