Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at this #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

username1565
Copy link

xD

Add vernam cipher JavaScript implementation
4 reversive ciphers and 3 not reversive.
Symbol-by-symbol encryption/decryption is available.
Encryption/decryption for strings is available.
Custom keys is available.

See the source code.
fix Vernam_XOR_symbol
Switch to vernam by default
Set empty "special_symbol_for_XOR", and write this as variable, then set to html element.
Add variable "use_special_symbol_for_XOR" to set it custom, and use then.
Fix console.log for different cipher modes.
Set special_symbol_for_XOR in setAlphabet function.
Show seed in change_seed function, but comment that line.
Skip special_symbol_for_XOR on input, when vernam cipher activated.
Slice special_symbol_for_XOR from result, if special_symbol_for_XOR contains before char on input.
Remove XOR-char from both fields, too, if contains, and do this on press backspase or del.
Add var "default_special_symbol_for_XOR" and comment.
Set previous or default.
Show special_symbol_for_XOR in console, on change algo.
Show this on change too.
Use "default_special_symbol_for_XOR" to set it if undefined.
change "special_symbol_for_XOR" to "XOR_char", because long variable name. Change it in "Enigma+7ciphers+PRNG.html" and in "isaacCSPRNG-1.1.js"
check it in console.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant