module Auth::Block
Overview
TODO Write documentation for Auth::Block
Included Modules
- MessagePack::Serializable
Defined in:
auth-block.crConstant Summary
-
VERSION =
"0.1.0"
Constructors
Class Method Summary
-
.compute_stretched_ikey(iKey)
STEP 2 :: Stretch the key to 32 chars using scrypt IMPORTANT -- need to verify that these are correct parameters
-
.generate_iKey
STEP 1 :: Generate a random string 17 chars in length to use as the invitation key
-
.generate_invitation_id(s_iKey, msg)
STEP 3 :: Generate Invitation ID
-
.generate_keys(seed)
STEP 4B - Generate a signing key from the seed, and a verify key from the signing key
-
.generate_seed(s_iKey, msg)
STEP 4A Generate a 32-byte random seed using the s_iKey and a message
-
.sign_message(signing_key, msg)
STEP 5 :: Sign the invitation ID with the signing key
-
.verify_signature(verify_key, signature, msg)
Check the validity of a signature (for proof of concept)
Constructor Detail
Class Method Detail
STEP 2 :: Stretch the key to 32 chars using scrypt IMPORTANT -- need to verify that these are correct parameters
STEP 1 :: Generate a random string 17 chars in length to use as the invitation key
STEP 4B - Generate a signing key from the seed, and a verify key from the signing key
STEP 4A Generate a 32-byte random seed using the s_iKey and a message
Check the validity of a signature (for proof of concept)