scorex.crypto.encode.Base64.scala Maven / Gradle / Ivy
package scorex.crypto.encode
object Base64 {
def encode(input: Array[Byte]): String = new String(java.util.Base64.getEncoder.encode(input))
def decode(input: String): Array[Byte] = java.util.Base64.getDecoder.decode(input)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy