com.savl.ripple.encodings.common.B64 Maven / Gradle / Ivy
package com.savl.ripple.encodings.common;
import org.bouncycastle.util.encoders.Base64;
public class B64 {
public static String toString(byte[] bytes) {
return Base64.toBase64String(bytes);
}
public static byte[] decode(String string) {
return Base64.decode(string);
}
}