Hash

fmgp.typings.jsSha256.mod.Hash
trait Hash extends StObject

Attributes

Graph
Supertypes
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply(message: Message): String

Hash and return hex string.

Hash and return hex string.

Value parameters

message

The message you want to hash.

Attributes

def array(message: Message): Array[Double]

Return hash in integer array.

Return hash in integer array.

Value parameters

message

The message you want to hash.

Attributes

Return hash in ArrayBuffer.

Return hash in ArrayBuffer.

Value parameters

message

The message you want to hash.

Attributes

def create(): Hasher

Create a hash object.

Create a hash object.

Attributes

def digest(message: Message): Array[Double]

Return hash in integer array.

Return hash in integer array.

Value parameters

message

The message you want to hash.

Attributes

def hex(message: Message): String

Return hash in hex string.

Return hash in hex string.

Value parameters

message

The message you want to hash.

Attributes

def hmac(secretKey: String, message: Message): String

HMAC interface

HMAC interface

Attributes

def update(message: Message): Hasher

Create a hash object and hash message.

Create a hash object and hash message.

Value parameters

message

The message you want to hash.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

HMAC interface

HMAC interface

Attributes