support pairing

This commit is contained in:
Masato Imai
2022-09-06 11:27:49 +09:00
parent bf6827de10
commit 1f2964e5db
4 changed files with 11 additions and 9 deletions

View File

@ -1,5 +1,7 @@
fn main() {
let a = encrypt(1);
let b = encrypt2(2);
println(decrypt_pair(a * b));
let t: Vec<String> = vec("");
t[0] = "test";
t = push(t, "test2");
println(decrypt(a + b));
println(t[0] + t[1]);
}