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

japgolly.webapputil.binary.Encryption.scala Maven / Gradle / Ivy

There is a newer version: 2.0.0-RC12
Show newest version
package japgolly.webapputil.binary

import japgolly.scalajs.react.AsyncCallback

/** A means of binary encryption and decryption. */
final case class Encryption(encrypt: BinaryData => AsyncCallback[BinaryData],
                            decrypt: BinaryData => AsyncCallback[BinaryData])

object Encryption {

  trait Engine {
    def apply(symmetricKey: BinaryData): AsyncCallback[Encryption]
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy