Class: JSJaCKeys

JSJaCKeys

Reflects a set of sha1/md5 hash keys for securing sessions

new JSJaCKeys

Creates a new set of hash keys
Parameters:
Name Type Description
func Function The hash function to be used for creating the keys
oDbg Debugger Reference to debugger implementation [optional]
Source:
  • JSJaCKeys.js, line 9

Members

oDbg :Debugger

Reference to Debugger
Source:
  • JSJaCKeys.js, line 22

Methods

getKey

Gets next key from stack
Source:
  • JSJaCKeys.js, line 44
Returns:
New hash key

lastKey

Indicates whether there's only one key left
Source:
  • JSJaCKeys.js, line 52
Returns:
true if there's only one key left, false otherwise

size

Returns number of overall/initial stack size
Source:
  • JSJaCKeys.js, line 58
Returns:
Number of keys created