minor changes, included mini tutorial, version inc

This commit is contained in:
zefie
2021-07-15 00:21:35 -04:00
parent 1b4809f70b
commit a0c8299a31
9 changed files with 49 additions and 57 deletions

View File

@@ -4,7 +4,7 @@ var crypto = require('crypto');
class WTVSec {
//initial_shared_key = CryptoJS.lib.WordArray.random(8);
initial_shared_key_b64 = "CC5rWmRUE0o=";
initial_shared_key_b64 = "CC5rWmRUE0o="; // You can change this but it doesn't mean much for security. Just make sure its static. 8 bytes base64 encoded.
initial_shared_key = null;
current_shared_key = null;
challenge_key = null;