credentials Class
Constructor
credentials
()
Methods
kw
(
BitArray
static
-
name
Key Wrapping with a name
Parameters:
-
name
StringThe name of the salt
Returns:
BitArray:
the salt combination with the namespace
kwe
(
BitArray
static
-
name
-
email
Key Wrapping with a name and an email
Parameters:
-
name
StringThe name of the salt
-
email
StringThe email of the user.
Returns:
BitArray:
the salt combination with the namespace
setup
(
Promise
-
emailInput
-
passwordInput
Setup credentials
Parameters:
-
emailInput
String -
passwordInput
String
Returns:
Promise:
A promise that will be fulfilled with result
of generated credentials
wrap
(
BitArray
-
bitArray1
-
bitArray2
Wrap
Parameters:
-
bitArray1
BitArray -
bitArray2
BitArray
Returns:
BitArray:
wrap result of the two bitArrays