trait Hasher extends AnyRef
- Alphabetic
- By Inheritance
- Hasher
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
done(): Byte
Calculate a hash as single byte
-
abstract
def
done(out: Array[Byte], offset: Int, len: Int): Unit
Calculate a hash into specified part of array
-
abstract
def
done(out: Array[Byte]): Unit
Calculate a hash into specified byte array
-
abstract
def
update(input: String): Hasher
Updates a hasher by specified string, returns the same hasher
-
abstract
def
update(input: Byte): Hasher
Updates a hasher by specified byte, returns the same hasher
-
abstract
def
update(input: Array[Byte], offset: Int, len: Int): Hasher
Updates a hasher by specified part of provided bytes, returns the same hasher
-
abstract
def
update(input: Array[Byte]): Hasher
Updates a hasher by provided bytes, returns the same hasher
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
done(len: Int): Array[Byte]
Create a new byte array of specified length and calculate a hash into this array
-
def
doneBase16(len: Int): String
Create a base16 representative of calculated hash for specified length
-
def
doneBase32(len: Int): String
Create a base32 representative of calculated hash for specified length
-
def
doneBase32Hex(len: Int): String
Create a base32 hex-compatibly representative of calculated hash for specified length
-
def
doneBase64(len: Int): String
Create a base64 representative of calculated hash for specified length
-
def
doneBase64Url(len: Int): String
Create a base64 URL-safe representative of calculated hash for specified length
-
def
doneBigInt(bitLength: Int): BigInt
Calculate a hash and return it as positive BigInt with specified length in bits
-
def
doneHex(resultLength: Int): String
Calculate a hash and return as hex encoded string with specified output length in characters
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.