{
  "_id": "6a5cdd439baadeef8ab5268d",
  "Package": "fhe",
  "Type": "Package",
  "Title": "Fully Homomorphic Encryption",
  "Version": "0.7.0",
  "Maintainer": "Louis Aslett <louis.aslett@durham.ac.uk>",
  "Authors@R": "person(\"Louis\", \"Aslett\", email = \"louis.aslett@durham.ac.uk\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-2211-233X\"))",
  "Description": "A reference implementation of homomorphic encryption\nschemes. These are encryption schemes which allow limited\noperations (such as addition and multiplication) to be\nperformed on the cipher text directly without decrypting first.\nIn other words, if you encrypt the values 2 and 3 and \"add\"\ntheir cipher texts then decrypting renders 5. At present, the\nscheme of Fan and Vercauteren (2012)\n<https://eprint.iacr.org/2012/144> is provided. This package\nwas originally named {HomomorphicEncryption} and available in\nsource form. It is the package described in Aslett et al.\n(2015) <arXiv:1508.06574>, but due to a name collision created\nby a later package we have renamed to {fhe}.",
  "License": "GPL-2",
  "ByteCompile": "yes",
  "RcppModules": "FandV",
  "SystemRequirements": "GNU make; flint: flint-devel (rpm), libflint-dev\n(deb), flint (homebrew)",
  "Encoding": "UTF-8",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libflint-dev libgmp3-dev make",
  "Repository": "https://louisaslett.r-universe.dev",
  "Date/Publication": "2026-07-19 13:31:04 UTC",
  "RemoteUrl": "https://github.com/louisaslett/fhe",
  "RemoteRef": "HEAD",
  "RemoteSha": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-19 14:13:43 UTC",
    "User": "root"
  },
  "Author": "Louis Aslett [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-2211-233X>)",
  "_user": "louisaslett",
  "_type": "src",
  "_file": "fhe_0.7.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6446a696739e20002a1efca32a018b0cfb74a893887ab3adfe45987932087d95",
  "_filesize": 194816,
  "_sha256": "6446a696739e20002a1efca32a018b0cfb74a893887ab3adfe45987932087d95",
  "_expires": "2026-10-27T14:20:49.000Z",
  "_created": "2026-07-19T14:13:43.000Z",
  "_published": "2026-07-19T14:20:51.039Z",
  "_jobs": [
    {
      "job": 88202081750,
      "time": 203,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8443425186"
    },
    {
      "job": 88202081740,
      "time": 240,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8443430538"
    },
    {
      "job": 88202081744,
      "time": 226,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443428827"
    },
    {
      "job": 88202081753,
      "time": 213,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443426482"
    },
    {
      "job": 88202081757,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8443411458"
    },
    {
      "job": 88202081803,
      "time": 245,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8443431231"
    },
    {
      "job": 88202081747,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443414809"
    },
    {
      "job": 88202081745,
      "time": 351,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443448168"
    },
    {
      "job": 88201725810,
      "time": 236,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443392487"
    },
    {
      "job": 88202081721,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 88202081734,
      "time": 235,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8443429528"
    },
    {
      "job": 88202081763,
      "time": 238,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8443430243"
    },
    {
      "job": 88202081729,
      "time": 270,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8443434982"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152",
  "_status": "success",
  "_upstream": "https://github.com/louisaslett/fhe",
  "_commit": {
    "id": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
    "author": "Louis Aslett <louis.aslett@durham.ac.uk>",
    "committer": "Louis Aslett <louis.aslett@durham.ac.uk>",
    "message": "Replace the previous 3*sigma with `FandV_Bbound()`, which computes a stricter Gaussian tail bound\n\nThis aligns now fully with FV paper, e.g. worked example in Sec 6.2\n",
    "time": 1784467864
  },
  "_maintainer": {
    "name": "Louis Aslett",
    "email": "louis.aslett@durham.ac.uk",
    "login": "louisaslett",
    "mastodon": "@louisaslett@fosstodon.org",
    "bluesky": "@louisaslett.bsky.social",
    "linkedin": "in/louisaslett",
    "orcid": "0000-0003-2211-233X",
    "twitter": "@louisaslett",
    "description": "Professor of Statistics, Department of Mathematical Sciences, Durham University, UK",
    "uuid": 5246125
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "gmp",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    }
  ],
  "_owner": "louisaslett",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 14
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "louisaslett",
      "count": 109,
      "uuid": 5246125
    }
  ],
  "_userbio": {
    "uuid": 5246125,
    "type": "user",
    "name": "Louis Aslett",
    "followers": 39,
    "description": "Professor of Statistics, Department of Mathematical Sciences, Durham University, UK"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fhe"
  },
  "_devurl": "https://github.com/louisaslett/fhe",
  "_searchresults": 0,
  "_topics": [
    "flint",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fhe.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "cbind2",
    "colSums",
    "dec",
    "diag",
    "diag<-",
    "enc",
    "keygen",
    "loadFHE",
    "pars",
    "parsHelp",
    "rbind2",
    "rowSums",
    "save",
    "save.image",
    "saveFHE",
    "saveRDS",
    "t"
  ],
  "_help": [
    {
      "page": "fhe-package",
      "title": "Fully Homomorphic Encryption",
      "topics": [
        "fhe-package",
        "fhe"
      ]
    },
    {
      "page": "Arithmetic",
      "title": "Homomorphic operations on ciphertexts",
      "topics": [
        "*",
        "+",
        "-",
        "Arithmetic (+,-,*)"
      ]
    },
    {
      "page": "dec",
      "title": "Decrypt a ciphertext",
      "topics": [
        "dec"
      ]
    },
    {
      "page": "enc",
      "title": "Encrypt a message",
      "topics": [
        "enc"
      ]
    },
    {
      "page": "FandV",
      "title": "Fan and Vercauteren encryption scheme",
      "topics": [
        "FandV"
      ]
    },
    {
      "page": "keygen",
      "title": "Generate cryptographic keys",
      "topics": [
        "keygen"
      ]
    },
    {
      "page": "pars",
      "title": "Setup encryption scheme parameters",
      "topics": [
        "pars"
      ]
    },
    {
      "page": "parsHelp",
      "title": "Encryption parameter selection",
      "topics": [
        "parsHelp"
      ]
    },
    {
      "page": "saveFHE",
      "title": "Save and load keys and ciphertexts",
      "topics": [
        "loadFHE",
        "save",
        "save.image",
        "saveFHE",
        "saveRDS"
      ]
    },
    {
      "page": "Vectors",
      "title": "Vectors of cipher texts",
      "topics": [
        "c",
        "prod",
        "sum",
        "Vectors"
      ]
    }
  ],
  "_rundeps": [
    "gmp",
    "Rcpp",
    "RcppParallel"
  ],
  "_sysdeps": [
    {
      "shlib": "libflint",
      "package": "libflint22",
      "headers": "libflint-dev",
      "source": "flint",
      "version": "3.4.0-1",
      "name": "flint",
      "homepage": "https://www.flintlib.org/",
      "description": "C library for number theory, shared library"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "fhe",
  "_universes": [
    "louisaslett"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-07-19T14:16:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/e616c48f3946af525c92d641569363ee90ab0deac4d643179903e4016a5e045c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-07-19T14:16:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/f2ae14ba063b0137401bd0bcae2f0cbc17ff39f167ab51f97521cb4d083e1ec4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-07-19T14:16:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/4e16e68cf380028ed318070d79db9aa5f33cd8663af3cc18944408e522f29553",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-07-19T14:16:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/61398842adf20d3a8ce974bc421f1e4c1ff9cd1603c11ecfc7c63caebcdb4582",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-07-19T14:15:32.000Z",
      "arch": "aarch64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/19806dff83c8f4a52da6586bd12ebed5fb1e331bde2bc6679139a98b9d765988",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-07-19T14:16:26.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/f6118c2d5bb1bbc61e5e5d57d629730a00a04ed1a804a41d4d094d608d8df6a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-07-19T14:15:40.000Z",
      "arch": "aarch64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/07f7aa9db5b5d3e0ed7627cacf518ab2961baab4f5f2c571277820639cdc2ac4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-07-19T14:17:42.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/743e00fb2e1ea5104d1f3ffa9a9f7b31b4873428762a4faad6ed1766ba003205",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-07-19T14:15:18.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/53f5b3f2ee0acab1283027c70b698042de9edea66841082a25e3776debf090c7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-07-19T14:15:27.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/c18e2f1e8dada5ab270d81d54ef339b7b14b95de303702ba825c1dd4a08cd7ee",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-07-19T14:15:31.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/5695bf2e5ba617dc76c335d5515f4651a0d603bced5beaba8fdeb5fb4badec10",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/29690292152"
    }
  ]
}