Hmac

fmgp.typings.jsSha256.mod.Hmac
trait Hmac 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(secretKey: String, message: Message): String

Computes a Hash-based message authentication code (HMAC) using a secret key

Computes a Hash-based message authentication code (HMAC) using a secret key

Value parameters

message

The message you want to hash.

secretKey

The Secret Key

Attributes

def array(secretKey: String, message: Message): Array[Double]

Return hash in integer array.

Return hash in integer array.

Value parameters

message

The message you want to hash.

secretKey

The Secret Key

Attributes

def arrayBuffer(secretKey: String, message: Message): ArrayBuffer

Return hash in ArrayBuffer.

Return hash in ArrayBuffer.

Value parameters

message

The message you want to hash.

secretKey

The Secret Key

Attributes

def create(secretKey: String): Hasher

Create a hash object using a secret key.

Create a hash object using a secret key.

Value parameters

secretKey

The Secret Key

Attributes

def digest(secretKey: String, message: Message): Array[Double]

Return hash in integer array.

Return hash in integer array.

Value parameters

message

The message you want to hash.

secretKey

The Secret Key

Attributes

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

Return hash in hex string.

Return hash in hex string.

Value parameters

message

The message you want to hash.

secretKey

The Secret Key

Attributes

def update(secretKey: String, message: Message): Hasher

Create a hash object and hash message using a secret key

Create a hash object and hash message using a secret key

Value parameters

message

The message you want to hash.

secretKey

The Secret Key

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