public final class Base64 extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
fromBase64(byte[] byteString,
boolean wipeInput)
Converts the given bytes back from base64 and wipes the input array, if desired.
|
static byte[] |
toBase64(byte[] byteString,
boolean wipeInput)
Converts the given bytes to base64 and wipes the input array, if desired.
|
public static byte[] toBase64(byte[] byteString,
boolean wipeInput)
byteString - the bytes to be convertedwipeInput - if true, the input bytes will be wiped (for security reasons)IllegalArgumentException - if the given array has length nullpublic static byte[] fromBase64(byte[] byteString,
boolean wipeInput)
byteString - the bytes to be converted backwipeInput - if true, the input bytes will be wiped (for security reasons)IllegalArgumentException - if the given array is of length null or not multiple of four
after the CR LR are stripped or if any of the bytes within the given array are
not property encodedCopyright © 2012–2026 cismet GmbH. All rights reserved.