object SecureRandom extends SecureRandomCompanionPlatform
- Source
- SecureRandom.scala
- Alphabetic
- By Inheritance
- SecureRandom
- SecureRandomCompanionPlatform
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[F[_]](implicit ev: SecureRandom[F]): SecureRandom[F]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def catsEitherTRandom[F[_], L](implicit arg0: SecureRandom[F], arg1: Functor[F]): SecureRandom[[γ$0$]EitherT[F, L, γ$0$]]
SecureRandom instance built for
cats.data.EitherTvalues initialized with anyFdata type that also implementsSecureRandom. - implicit def catsIndexedReaderWriterStateTSecureRandom[F[_], E, L, S](implicit arg0: SecureRandom[F], arg1: Applicative[F], arg2: Monoid[L]): SecureRandom[[ζ$6$]IndexedReaderWriterStateT[F, E, L, S, S, ζ$6$]]
SecureRandom instance built for
cats.data.IndexedReaderWriterStateTvalues initialized with anyFdata type that also implementsSecureRandom. - implicit def catsIndexedStateTSecureRandom[F[_], S](implicit arg0: SecureRandom[F], arg1: Applicative[F]): SecureRandom[[δ$3$]IndexedStateT[F, S, S, δ$3$]]
SecureRandom instance built for
cats.data.IndexedStateTvalues initialized with anyFdata type that also implementsSecureRandom. - implicit def catsIorTSecureRandom[F[_], L](implicit arg0: SecureRandom[F], arg1: Functor[F]): SecureRandom[[γ$5$]IorT[F, L, γ$5$]]
SecureRandom instance built for
cats.data.IorTvalues initialized with anyFdata type that also implementsSecureRandom. - implicit def catsKleisliSecureRandom[F[_], R](implicit arg0: SecureRandom[F]): SecureRandom[[γ$1$]Kleisli[F, R, γ$1$]]
SecureRandom instance built for
cats.data.Kleislivalues initialized with anyFdata type that also implementsSecureRandom. - implicit def catsOptionTSecureRandom[F[_]](implicit arg0: SecureRandom[F], arg1: Functor[F]): SecureRandom[[β$2$]OptionT[F, β$2$]]
SecureRandom instance built for
cats.data.OptionTvalues initialized with anyFdata type that also implementsSecureRandom. - implicit def catsWriterTSecureRandom[F[_], L](implicit arg0: SecureRandom[F], arg1: Applicative[F], arg2: Monoid[L]): SecureRandom[[γ$4$]WriterT[F, L, γ$4$]]
SecureRandom instance built for
cats.data.WriterTvalues initialized with anyFdata type that also implementsSecureRandom. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def in[F[_], G[_]](implicit arg0: kernel.Sync[F], arg1: kernel.Sync[G]): F[SecureRandom[G]]
Builds a
SecureRandom[G]value for effect types that are cats.effect.kernel.Sync but initializes random state using another effect constructorBuilds a
SecureRandom[G]value for effect types that are cats.effect.kernel.Sync but initializes random state using another effect constructor- Definition Classes
- SecureRandom → SecureRandomCompanionPlatform
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaSecuritySecureRandom[F[_]](implicit arg0: kernel.Sync[F]): F[SecureRandom[F]]
Builds a
SecureRandom[F]value for effect types that are cats.effect.kernel.Sync and initializes random state using the same effect typeBuilds a
SecureRandom[F]value for effect types that are cats.effect.kernel.Sync and initializes random state using the same effect typeOn the JVM, delegates to java.security.SecureRandom.
In browsers, delegates to the Web Crypto API.
In Node.js, delegates to the crypto module.
On Native, delegates to getentropy which is supported on Linux, macOS, and BSD. Unsupported platforms such as Windows will encounter link-time errors.
- Definition Classes
- SecureRandom → SecureRandomCompanionPlatform
- def javaSecuritySecureRandom[F[_]](n: Int)(implicit arg0: kernel.Sync[F]): F[SecureRandom[F]]
- See also
implementation notes at javaSecuritySecureRandom[F[_]](implicit*.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def of[F[_]](implicit arg0: kernel.Sync[F]): F[SecureRandom[F]]
Builds a
SecureRandom[F]value for effect types that are cats.effect.kernel.Sync and initializes random state using the same effect typeBuilds a
SecureRandom[F]value for effect types that are cats.effect.kernel.Sync and initializes random state using the same effect typeOn the JVM, delegates to java.security.SecureRandom.
In browsers, delegates to the Web Crypto API.
In Node.js, delegates to the crypto module.
On Native, delegates to getentropy which is supported on Linux, macOS, and BSD. Unsupported platforms such as Windows will encounter link-time errors.
- Definition Classes
- SecureRandom → SecureRandomCompanionPlatform
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()