bobcats

package bobcats

Type members

Classlikes

sealed trait Algorithm
sealed trait Crypto[F[_]]
Companion:
object
object Crypto extends CryptoCompanionPlatform
Companion:
class
class GeneralSecurityException(message: String, cause: Throwable) extends Exception
sealed trait Hash[F[_]]
Companion:
object
object Hash extends HashCompanionPlatform
Companion:
class
sealed trait HashAlgorithm extends Algorithm
Companion:
object
Companion:
class
sealed trait Hmac[F[_]] extends HmacPlatform[F]
Companion:
object
object Hmac extends HmacCompanionPlatform
Companion:
class
sealed trait HmacAlgorithm extends Algorithm
Companion:
object
Companion:
class
class InvalidKeyException(message: String, cause: Throwable) extends KeyException
sealed trait Key[+A <: Algorithm] extends KeyPlatform
class KeyException(message: String, cause: Throwable) extends GeneralSecurityException
sealed trait Priority[+P, +F]

Priority is a type class for prioritized implicit search.

Priority is a type class for prioritized implicit search.

This type class will attempt to provide an implicit instance of P (the preferred type). If that type is not available it will fallback to F (the fallback type). If neither type is available then a Priority[P, F] instance will not be available.

This type can be useful for problems where multiple algorithms can be used, depending on the type classes available.

Companion:
object
object Priority extends FindPreferred
Companion:
class
sealed trait PrivateKey[+A <: Algorithm] extends Key[A] with PrivateKeyPlatform
sealed trait PublicKey[+A <: Algorithm] extends Key[A] with PublicKeyPlatform
sealed trait SecretKey[+A <: Algorithm] extends Key[A] with SecretKeyPlatform
final case class SecretKeySpec[+A <: Algorithm](key: ByteVector, algorithm: A) extends SecretKey[A] with SecretKeySpecPlatform[A]
trait SecureEq[A] extends Eq[A]
Companion:
object
object SecureEq extends SecureEqCompanionPlatform
Companion:
class