class Digest::SHA3
- Digest::SHA3
- Reference
- Object
Direct Known Subclasses
Defined in:
digest/sha3.crConstant Summary
-
DOMAIN =
Domain::SHA3
-
HASH_SIZES =
[224, 256, 384, 512]
-
PILN =
[10, 7, 11, 17, 18, 3, 5, 16, 8, 21, 24, 4, 15, 23, 19, 13, 12, 2, 20, 14, 22, 9, 6, 1]
-
RNDC =
[1, 32898, 9223372036854808714_u64, 9223372039002292224_u64, 32907, 2147483649_i64, 9223372039002292353_u64, 9223372036854808585_u64, 138, 136, 2147516425_i64, 2147483658_i64, 2147516555_i64, 9223372036854775947_u64, 9223372036854808713_u64, 9223372036854808579_u64, 9223372036854808578_u64, 9223372036854775936_u64, 32778, 9223372039002259466_u64, 9223372039002292353_u64, 9223372036854808704_u64, 2147483649_i64, 9223372039002292232_u64]
-
ROTC =
[1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 2, 14, 27, 41, 56, 8, 25, 43, 62, 18, 39, 61, 20, 44]
Constructors
Class Method Summary
- .base64digest(string_or_slice : String | Bytes) : String
- .digest(string : String) : Bytes
- .digest(slice : Bytes) : Bytes
- .hexdigest(string_or_slice : String | Bytes) : String
Instance Method Summary
- #hexdigest : String
-
#input(s)
Crystal-style method name
- #reset
- #result
-
#update(s : String)
Ruby-style method names
- #update(s : Bytes)