Releases: ainblockchain/ain-js
Releases · ainblockchain/ain-js
v1.3.6 Release Note
Updates:
v1.3.4 Release Note
Updates:
v1.3.2 Release Note
Updates:
v1.3.1 Release Note
Updates:
v1.3.0 Release Note
Updates:
v1.2.1 Release Note
Updates:
v1.2.0 Release Note
Updates:
v1.1.9 Release Note
Updates:
v1.1.8 Release Note
Hello everyone 👋 v1.1.8 is out and has some exciting new features to share!
ain-js now supports basic Homomorphic Encryption functions (e.g. generating new keys, loading existing keys, encrypt & decrypt).
To test it, try the example below:
const ain = new Ain("http://node.ainetwork.ai:8080");
await ain.he.init();
const TEST_DATA = Float64Array.from({ length: ain.he.seal.encoder.slotCount }).map((x, i) => i);
const cipherText = ain.he.encrypt(TEST_DATA);
ain.he.TEST_evaluate_double(cipherText); // cipherText updated
const decrypted = ain.he.decrypt(cipherText.save());