JHasher

tsec.hashing.jca.JHasher
final class JHasher[F[_], A] extends CryptoHasher[F, A]

Attributes

Source
JHasher.scala
Graph
Supertypes
trait CryptoHasher[F, A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def hash(bytes: Array[Byte]): F[Type[A]]

Lift a the cryptographic hash function into an F[_]

Lift a the cryptographic hash function into an F[_]

The underlying hash function may or may not side effect.

Attributes

Returns
Source
JHasher.scala
def hashPipe: (F, Byte) => Byte

In this case, we use the same code as fs2, but we resolve the hash string prefix from the implicit

In this case, we use the same code as fs2, but we resolve the hash string prefix from the implicit

Attributes

Source
JHasher.scala

Inherited methods

def checkWithHash(l: Array[Byte], r: Type[A])(implicit F: Functor[F]): F[VerificationStatus]

Check against another hash

Check against another hash

Attributes

Inherited from:
CryptoHasher
Source
CryptoHasher.scala
def checkWithHashBool(l: Array[Byte], r: Type[A])(implicit F: Functor[F]): F[Boolean]

Check against another hash

Check against another hash

Attributes

Inherited from:
CryptoHasher
Source
CryptoHasher.scala

Concrete fields

Attributes

Source
JHasher.scala