SHA3 class

A SHA3 has params: int bits, List

  • for keccak and sha3: use number in NORMAL_BITS: 224, 256, 384, 512;
  • for shake cshake: use number in SHAKE_BITS: 128, 256; Avaliable padding:
  • SHA3_PADDING: for sha3;
  • KECCAK_PADDING: for keccak;
  • SHAKE_PADDING: for shake;
  • CSHAKE_PADDING: for cshake; Avaliable outputBits: same to bits;
Implementers

Constructors

SHA3(int bits, List<int> padding, int outputBits)

Properties

block int
getter/setter pair
blockCount int?
getter/setter pair
blocks List<int>?
getter/setter pair
byteCount int?
getter/setter pair
extraBytes int?
getter/setter pair
finalized bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastByteIndex int
getter/setter pair
outputBits int?
getter/setter pair
outputBlocks int?
getter/setter pair
padding List<int>?
getter/setter pair
reset bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
s List<int>?
getter/setter pair
start int
getter/setter pair

Methods

digest() List<int>
encode(int x, bool right) int
finalize() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(List<int> message) SHA3

Operators

operator ==(Object other) bool
The equality operator.
inherited