!7 p { S s = repString("hello world. ", 10); print(s); final S enc = aesEncryptString(s, "pw 1"); print(enc); int l1 = l(toUtf8(s)); int l2 = l(toUtf8(enc)); int percent = ratioToIntPercent(l2, l1); print("Length: " + l1 + " -> " + l2 + " (\*percent*/%)"); assertEquals(s, aesDecryptString(enc, "pw 1")); assertFail(r { aesDecryptString(enc, "pw 2"); }); printStackTrace_indent("HARMLESS", lastSilentException()); print("ENCRYPT/DECRYPT/WRONG PASSWORD TEST OK!"); }