HashAlgorithm

fs2.hashing.HashAlgorithm
See theHashAlgorithm companion object
abstract class HashAlgorithm

Enumeration of hash algorithms.

Note: The existence of an algorithm in this list does not guarantee it is supported at runtime, as algorithm support is platform specific.

The Named constructor allows specifying an algorithm name that's not in this list. The supplied name will be passed to the underlying crypto provider when creating a Hasher.

Implementation note: this class is not sealed, and its constructor is private, to allow for addition of new cases in the future without breaking compatibility.

Attributes

Companion
object
Source
HashAlgorithm.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MD5
class Named
object SHA1
object SHA224
object SHA256
object SHA384
object SHA3_224
object SHA3_256
object SHA3_384
object SHA3_512
object SHA512
object SHA512_224
object SHA512_256
Show all
In this article