Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import system'text;
|
||||
import system'culture;
|
||||
import system'math;
|
||||
import system'routines;
|
||||
import extensions;
|
||||
|
|
@ -10,9 +11,9 @@ class VCipher
|
|||
auto output := new TextBuilder();
|
||||
int pwi := 0;
|
||||
|
||||
string PW := pw.upperCase();
|
||||
string PW := pw.toUpper();
|
||||
|
||||
txt.upperCase().forEach:(t)
|
||||
txt.toUpper().forEach:(t)
|
||||
{
|
||||
if(t >= $65)
|
||||
{
|
||||
|
|
@ -38,7 +39,7 @@ public program()
|
|||
var s0 := "Beware the Jabberwock, my son! The jaws that bite, the claws that catch!";
|
||||
var pw := "VIGENERECIPHER";
|
||||
|
||||
console.printLine(s0,newLine,pw,newLine);
|
||||
console.printLine(s0,newLineConstant,pw,newLineConstant);
|
||||
var s1 := v.encrypt(s0, pw, 1);
|
||||
console.printLine("Encrypted:",s1);
|
||||
s1 := v.encrypt(s1, "VIGENERECIPHER", -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue