Sha2_64bit

sealed trait Sha2_64bit

Quite ugly but fast enough implementation of SHA-2 for 64 bit case.

This implementation isn't thread safe.

trait Hash
class Object
trait Matchable
class Any
class Sha2_384
class Sha2_512

Value members

Concrete methods

override def finish(hashed: Array[Byte], off: Int): Unit
Definition Classes
protected def finishBlock(block: Array[Byte], off: Int): Unit

Inherited methods

final def finish(hashed: Array[Byte], off: Int, len: Int): Unit
Inherited from:
BlockedHash
protected def padding_32bit(messageLen: Int): Array[Byte]
Inherited from:
BlockedHash
protected def padding_64bit(messageLen: Int): Array[Byte]
Inherited from:
BlockedHash
def update(bytes: Array[Byte], off: Int, len: Int): Unit
Inherited from:
BlockedHash

Abstract fields

protected val H: Array[Long]
protected val len: Int

Concrete fields

protected val block: Array[Byte]
protected val words: Array[Long]

Inherited fields

protected var messageLen: Int
Inherited from:
BlockedHash