Skip to content

Commit

Permalink
Merge pull request #28 from zama-ai/update/tfhe
Browse files Browse the repository at this point in the history
Update/tfhe
  • Loading branch information
immortal-tofu authored Aug 23, 2023
2 parents f5e328f + ce3d240 commit 0068e2b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fhevmjs",
"version": "0.1.3",
"version": "0.2.0",
"description": "fhEVM SDK for blockchain using TFHE",
"main": "lib/node.cjs",
"types": "lib/node.d.ts",
Expand Down Expand Up @@ -40,9 +40,9 @@
"ethers": "^6.6.4",
"libsodium": "^0.7.11",
"libsodium-wrappers": "^0.7.11",
"node-tfhe": "^0.3.0-beta.0",
"node-tfhe": "^0.3.1",
"sha3": "^2.1.4",
"tfhe": "^0.3.0-beta.0"
"tfhe": "^0.3.1"
},
"devDependencies": {
"@rollup/plugin-alias": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/tfhe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { toHexString } from './utils';

export const createTfheKeypair = () => {
const block_params = new ShortintParameters(
ShortintParametersName.PARAM_SMALL_MESSAGE_2_CARRY_2_COMPACT_PK,
ShortintParametersName.PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS,
);
let config = TfheConfigBuilder.all_disabled()
.enable_custom_integers(block_params)
Expand Down

0 comments on commit 0068e2b

Please sign in to comment.