{
  "_id": "6a229f80cd65a98ecbd583e2",
  "Package": "HomomorphicEncryption",
  "Title": "BFV, BGV, CKKS Schema for Fully Homomorphic Encryption",
  "Version": "0.9.0",
  "Authors@R": "person(\"Bastiaan\", \"Quast\", , \"bquast@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2951-3577\"))",
  "Description": "Implements the Brakerski-Fan-Vercauteren (BFV, 2012)\n<https://eprint.iacr.org/2012/144>,\nBrakerski-Gentry-Vaikuntanathan (BGV, 2014)\n<doi:10.1145/2633600>, and Cheon-Kim-Kim-Song (CKKS, 2016)\n<https://eprint.iacr.org/2016/421.pdf> schema for Fully\nHomomorphic Encryption. The included vignettes demonstrate the\nencryption procedures.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://bquast.r-universe.dev",
  "Date/Publication": "2024-01-09 13:15:35 UTC",
  "RemoteUrl": "https://github.com/bquast/homomorphicencryption",
  "RemoteRef": "HEAD",
  "RemoteSha": "617dd31e67befef38cecbd483798840108a0f379",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 10:03:23 UTC",
    "User": "root"
  },
  "Author": "Bastiaan Quast [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2951-3577>)",
  "Maintainer": "Bastiaan Quast <bquast@gmail.com>",
  "MD5sum": "541783fbbae60c6f36f6e8e46958323a",
  "_user": "bquast",
  "_type": "src",
  "_file": "HomomorphicEncryption_0.9.0.tar.gz",
  "_fileid": "a3a16cd119f255fb59ea0ed39691799d65923b074d527b23c289107b2c8197db",
  "_filesize": 129675,
  "_sha256": "a3a16cd119f255fb59ea0ed39691799d65923b074d527b23c289107b2c8197db",
  "_created": "2026-06-05T10:03:23.000Z",
  "_published": "2026-06-05T10:05:52.181Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79706301040,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434004251"
    },
    {
      "job": 79706301041,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434005662"
    },
    {
      "job": 79706301131,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7433993844"
    },
    {
      "job": 79706301055,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434000312"
    },
    {
      "job": 79705847735,
      "time": 176,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433968395"
    },
    {
      "job": 79706301042,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434001633"
    },
    {
      "job": 79706301046,
      "time": 80,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7433993677"
    },
    {
      "job": 79706301068,
      "time": 63,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7433988586"
    },
    {
      "job": 79706301059,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433992687"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bquast/homomorphicencryption",
  "_commit": {
    "id": "617dd31e67befef38cecbd483798840108a0f379",
    "author": "Bastiaan Quast <bquast@gmail.com>",
    "committer": "Bastiaan Quast <bquast@gmail.com>",
    "message": "update comments\n",
    "time": 1704806135
  },
  "_maintainer": {
    "name": "Bastiaan Quast",
    "email": "bquast@gmail.com",
    "login": "bquast",
    "twitter": "@baquast",
    "description": "Machine Learning researcher | author of py, R packages: transformer, attention, rnn, HomomorphicEncryption, HEtools llama.go, mlx-profiler",
    "uuid": 2590349,
    "orcid": "0000-0002-2951-3577"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "polynom",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "HEtools",
      "role": "Depends"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bquast",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "bquast",
      "count": 125,
      "uuid": 2590349
    }
  ],
  "_userbio": {
    "uuid": 2590349,
    "type": "user",
    "name": "Bastiaan Quast",
    "description": "Machine Learning researcher | author of py, R packages: transformer, attention, rnn, HomomorphicEncryption, HEtools llama.go, mlx-profiler"
  },
  "_downloads": {
    "count": 154,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HomomorphicEncryption"
  },
  "_devurl": "https://github.com/bquast/homomorphicencryption",
  "_searchresults": 39,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HomomorphicEncryption.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bquast/homomorphicencryption",
  "_realowner": "bquast",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-10-21"
    },
    {
      "version": "0.2.0",
      "date": "2023-11-11"
    },
    {
      "version": "0.3.0",
      "date": "2023-12-09"
    },
    {
      "version": "0.9.0",
      "date": "2024-01-09"
    }
  ],
  "_exports": [
    "BFV_encrypt",
    "BFV_KeyGen",
    "CoefMod",
    "compute_basis_coordinates",
    "coordinate_wise_random_rounding",
    "decode",
    "encode",
    "EncryptPoly0",
    "EncryptPoly1",
    "GenA",
    "GenError",
    "GenEvalKey0",
    "GenPubKey",
    "GenPubKey0",
    "GenPubKey1",
    "GenSecretKey",
    "GenU",
    "pi_function",
    "pi_inverse",
    "round_coordinates",
    "sigma_function",
    "sigma_inverse",
    "sigma_R_discretization",
    "vandermonde"
  ],
  "_help": [
    {
      "page": "BFV_encrypt",
      "title": "BFV encryption",
      "topics": [
        "BFV_encrypt"
      ]
    },
    {
      "page": "BFV_KeyGen",
      "title": "Brakerski / Fan-Vercauteren",
      "topics": [
        "BFV_KeyGen"
      ]
    },
    {
      "page": "compute_basis_coordinates",
      "title": "compute basis coordinates",
      "topics": [
        "compute_basis_coordinates"
      ]
    },
    {
      "page": "coordinate_wise_random_rounding",
      "title": "coordinate-wise random rounding",
      "topics": [
        "coordinate_wise_random_rounding"
      ]
    },
    {
      "page": "decode",
      "title": "decode",
      "topics": [
        "decode"
      ]
    },
    {
      "page": "encode",
      "title": "encode",
      "topics": [
        "encode"
      ]
    },
    {
      "page": "EncryptPoly0",
      "title": "Encrypt Polynomial Message Part 0",
      "topics": [
        "EncryptPoly0"
      ]
    },
    {
      "page": "EncryptPoly1",
      "title": "Encrypt Polynomial Message Part 1",
      "topics": [
        "EncryptPoly1"
      ]
    },
    {
      "page": "GenA",
      "title": "Generate a",
      "topics": [
        "GenA"
      ]
    },
    {
      "page": "GenError",
      "title": "Generate a",
      "topics": [
        "GenError"
      ]
    },
    {
      "page": "GenEvalKey0",
      "title": "Generate the Evaluation Key",
      "topics": [
        "GenEvalKey0"
      ]
    },
    {
      "page": "GenPubKey",
      "title": "Generate the Public Key",
      "topics": [
        "GenPubKey"
      ]
    },
    {
      "page": "GenPubKey0",
      "title": "Generate part 0 of the Public Key",
      "topics": [
        "GenPubKey0"
      ]
    },
    {
      "page": "GenPubKey1",
      "title": "Generate part 1 of the Public Key",
      "topics": [
        "GenPubKey1"
      ]
    },
    {
      "page": "GenSecretkey",
      "title": "Generate Secret key",
      "topics": [
        "GenSecretKey",
        "GenSecretkey"
      ]
    },
    {
      "page": "GenU",
      "title": "Generate u",
      "topics": [
        "GenU"
      ]
    },
    {
      "page": "pi_function",
      "title": "pi function",
      "topics": [
        "pi_function"
      ]
    },
    {
      "page": "pi_inverse",
      "title": "pi inverse function",
      "topics": [
        "pi_inverse"
      ]
    },
    {
      "page": "round_coordinates",
      "title": "round coordinates",
      "topics": [
        "round_coordinates"
      ]
    },
    {
      "page": "sigma_function",
      "title": "sigma function",
      "topics": [
        "sigma_function"
      ]
    },
    {
      "page": "sigma_inverse",
      "title": "sigma inverse",
      "topics": [
        "sigma_inverse"
      ]
    },
    {
      "page": "sigma_R_discretization",
      "title": "sigma discretization",
      "topics": [
        "sigma_R_discretization"
      ]
    },
    {
      "page": "vandermonde",
      "title": "vandermonde",
      "topics": [
        "vandermonde"
      ]
    }
  ],
  "_readme": "https://github.com/bquast/homomorphicencryption/raw/HEAD/README.md",
  "_rundeps": [
    "HEtools",
    "polynom"
  ],
  "_vignettes": [
    {
      "source": "BFV.Rmd",
      "filename": "BFV.html",
      "title": "BFV",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-11 01:49:10",
      "modified": "2023-12-28 21:04:10",
      "commits": 8
    },
    {
      "source": "BFV-2.Rmd",
      "filename": "BFV-2.html",
      "title": "BFV 2",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-28 21:04:32",
      "modified": "2023-12-28 21:04:32",
      "commits": 1
    },
    {
      "source": "BFV-base.Rmd",
      "filename": "BFV-base.html",
      "title": "BFV in base R",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-12-04 22:43:26",
      "modified": "2022-12-04 22:43:26",
      "commits": 1
    },
    {
      "source": "BFV-relinearization.Rmd",
      "filename": "BFV-relinearization.html",
      "title": "BFV relinearization",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-12-04 03:53:20",
      "modified": "2022-12-04 22:39:24",
      "commits": 3
    },
    {
      "source": "BFV-addition.Rmd",
      "filename": "BFV-addition.html",
      "title": "BFV-addition",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-11 20:37:57",
      "modified": "2022-10-11 23:48:11",
      "commits": 3
    },
    {
      "source": "BFV-multiply.Rmd",
      "filename": "BFV-multiply.html",
      "title": "BFV-multiply",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-11 23:18:31",
      "modified": "2022-12-04 22:43:55",
      "commits": 3
    },
    {
      "source": "BGV.Rmd",
      "filename": "BGV.html",
      "title": "BGV",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-13 02:19:30",
      "modified": "2022-10-13 02:19:30",
      "commits": 1
    },
    {
      "source": "BGV-2.Rmd",
      "filename": "BGV-2.html",
      "title": "BGV 2",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-31 00:37:30",
      "modified": "2023-12-31 12:49:17",
      "commits": 2
    },
    {
      "source": "BGV-addition-2.Rmd",
      "filename": "BGV-addition-2.html",
      "title": "BGV addition 2",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-31 14:15:14",
      "modified": "2024-01-02 22:30:20",
      "commits": 4
    },
    {
      "source": "BGV-ModSwitch.Rmd",
      "filename": "BGV-ModSwitch.html",
      "title": "BGV ModSwitch",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-12-04 22:44:13",
      "modified": "2022-12-04 22:44:13",
      "commits": 1
    },
    {
      "source": "BGV-addition.Rmd",
      "filename": "BGV-addition.html",
      "title": "BGV-addition",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-14 01:19:12",
      "modified": "2022-10-14 20:58:01",
      "commits": 2
    },
    {
      "source": "BGV-multiply.Rmd",
      "filename": "BGV-multiply.html",
      "title": "BGV-multiply",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-14 03:02:54",
      "modified": "2022-10-14 20:58:01",
      "commits": 2
    },
    {
      "source": "CKKS.Rmd",
      "filename": "CKKS.html",
      "title": "CKKS",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-14 20:37:45",
      "modified": "2023-12-24 13:13:03",
      "commits": 9
    },
    {
      "source": "CKKS-encode.Rmd",
      "filename": "CKKS-encode.html",
      "title": "CKKS encode",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-23 23:36:01",
      "modified": "2023-12-25 11:23:05",
      "commits": 6
    },
    {
      "source": "CKKS-encode-2.Rmd",
      "filename": "CKKS-encode-2.html",
      "title": "CKKS encode 3",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-23 23:37:14",
      "modified": "2023-12-25 12:26:23",
      "commits": 7
    },
    {
      "source": "CKKS-encode-encrypt.Rmd",
      "filename": "CKKS-encode-encrypt.html",
      "title": "CKKS encode encrypt",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-24 14:08:48",
      "modified": "2023-12-25 12:56:03",
      "commits": 5
    },
    {
      "source": "CKKS-encode-encrypt-2.Rmd",
      "filename": "CKKS-encode-encrypt-2.html",
      "title": "CKKS encode encrypt 2",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-25 13:03:26",
      "modified": "2024-01-04 19:01:50",
      "commits": 6
    }
  ],
  "_score": 5.520483532740792,
  "_indexed": true,
  "_nocasepkg": "homomorphicencryption",
  "_universes": [
    "bquast"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-06-05T10:05:19.000Z",
      "distro": "noble",
      "commit": "617dd31e67befef38cecbd483798840108a0f379",
      "fileid": "2f4d83402c03262b725659a03b0727c76204276c132558688d0870fee26f6923",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-06-05T10:05:25.000Z",
      "distro": "noble",
      "commit": "617dd31e67befef38cecbd483798840108a0f379",
      "fileid": "c92a90c46cb08efa2a39e6f5ca12546f6f24cd978a4245dcc6d34d00fb135b69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-06-05T10:04:50.000Z",
      "commit": "617dd31e67befef38cecbd483798840108a0f379",
      "fileid": "f640bb3948baa20ac549863edc7fdec2f74fab00da0f4a775d38e7231400dd5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-06-05T10:05:06.000Z",
      "commit": "617dd31e67befef38cecbd483798840108a0f379",
      "fileid": "8ef38d6b0a3f746a03db7df1e9d3ff114f35a8351307796ca89f207fe62a8b4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.0",
      "date": "2026-06-05T10:05:24.000Z",
      "commit": "617dd31e67befef38cecbd483798840108a0f379",
      "fileid": "7547af2ebf1e58fe84ca3ad9464a813b3c98f46ccb54d48d1395c89a95ebb964",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-06-05T10:04:36.000Z",
      "commit": "617dd31e67befef38cecbd483798840108a0f379",
      "fileid": "a40efee9302a3458498f0c31b4a097202a49f76419c67ebf7803d36021c11a21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-06-05T10:04:24.000Z",
      "commit": "617dd31e67befef38cecbd483798840108a0f379",
      "fileid": "7cd1e723a4a3d9e3b3e82f39497632cabd10b8774c8642aa01ee2d98b4625904",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-06-05T10:04:35.000Z",
      "commit": "617dd31e67befef38cecbd483798840108a0f379",
      "fileid": "6dec582a4b39177bff1d8ef20fa8694f4c2e23d2609510f871b6431218cc2cdd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/27008415094"
    }
  ]
}