This repository has been archived by the owner on Nov 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
/
hashes.scala
61 lines (31 loc) · 1.43 KB
/
hashes.scala
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package tsec.hashing.bouncy
sealed trait Keccak224
object Keccak224 extends AsBouncyCryptoHash[Keccak224]("SHA3-224")
sealed trait Keccak256
object Keccak256 extends AsBouncyCryptoHash[Keccak256]("SHA3-256")
sealed trait Keccak384
object Keccak384 extends AsBouncyCryptoHash[Keccak384]("SHA3-384")
sealed trait Keccak512
object Keccak512 extends AsBouncyCryptoHash[Keccak512]("SHA3-512")
sealed trait Whirlpool
object Whirlpool extends AsBouncyCryptoHash[Whirlpool]("Whirlpool")
sealed trait RipeMD128
object RipeMD128 extends AsBouncyCryptoHash[RipeMD128]("RipeMD128")
sealed trait RipeMD160
object RipeMD160 extends AsBouncyCryptoHash[RipeMD160]("RipeMD160")
sealed trait RipeMD256
object RipeMD256 extends AsBouncyCryptoHash[RipeMD256]("RipeMD256")
sealed trait RipeMD320
object RipeMD320 extends AsBouncyCryptoHash[RipeMD320]("RipeMD320")
sealed trait Streebog256
object Streebog256 extends AsBouncyCryptoHash[Streebog256]("GOST3411-2012-256")
sealed trait Streebog512
object Streebog512 extends AsBouncyCryptoHash[Streebog512]("GOST3411-2012-512")
sealed trait Blake2B160
object Blake2B160 extends AsBouncyCryptoHash[Blake2B160]("BLAKE2B-160")
sealed trait Blake2B256
object Blake2B256 extends AsBouncyCryptoHash[Blake2B256]("BLAKE2B-256")
sealed trait Blake2B384
object Blake2B384 extends AsBouncyCryptoHash[Blake2B384]("BLAKE2B-384")
sealed trait Blake2B512
object Blake2B512 extends AsBouncyCryptoHash[Blake2B512]("BLAKE2B-512")