All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scorex.crypto.encode.Base64.scala Maven / Gradle / Ivy

There is a newer version: 1.2.0-RC3
Show newest version
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