{
  "_id": "6ad46557712795fb4dcafc2b",
  "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": "cmake 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-10-17 10:57:54 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/5b6ea4b737ba50cfff9941576a7c6b9b07ed15b52e5b8988737f44feabfbca43",
  "_filesize": 193819,
  "_sha256": "5b6ea4b737ba50cfff9941576a7c6b9b07ed15b52e5b8988737f44feabfbca43",
  "_expires": "2027-01-25T11:08:42.000Z",
  "_created": "2026-10-17T10:57:54.000Z",
  "_published": "2026-10-18T06:21:11.218Z",
  "_buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117604402017,
      "time": 194,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12098014306"
    },
    {
      "job": 117604402233,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12099365242"
    },
    {
      "job": 117604402128,
      "time": 211,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12099185873"
    },
    {
      "job": 117604402509,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12098517984"
    },
    {
      "job": 117604402511,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12098597881"
    },
    {
      "job": 117604401984,
      "time": 384,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12098983099"
    },
    {
      "job": 117604402441,
      "time": 124,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12099310266"
    },
    {
      "job": 117604402472,
      "time": 421,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12099261140"
    },
    {
      "job": 117604402157,
      "time": 218,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12099041547"
    },
    {
      "job": 117604401195,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 117604401294,
      "time": 181,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 117604402023,
      "time": 298,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12099067764"
    },
    {
      "job": 117604402191,
      "time": 239,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "12099225767"
    },
    {
      "job": 117604401315,
      "time": 213,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 117604402112,
      "time": 243,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12098444851"
    }
  ],
  "_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": 40,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_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-10-17T11:00:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/ee5daca12aaf886d22f488e5691a3a9f1ea0e0016d47383c31a664249c6e3866",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-10-17T11:00:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/05f0318fb4c1e40e7ee6967a12fbbd27dc7f808de91393313141be17e228ac9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-10-17T11:00:46.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/27a834bef0ad660a507c572ea9de4a6fd891e15a4bda82439d30d04056f7875e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.0",
      "date": "2026-10-17T11:00:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/9d5cec4cb42d1895cdec167f6738580a6adc3c17878b3923345e87db3f7092a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-10-17T11:02:03.000Z",
      "arch": "aarch64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/e88eba11bbf9c3cb7c1ca733d76ac419180a068daaa38c5d50ef6bd53b3dace2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-10-17T11:03:14.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/af1a8e33d2c6abf8386f64b03290d502467cff7c4853d85c0672415019b37c98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-10-17T11:00:27.000Z",
      "arch": "aarch64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/0e24ad4b8c9028e7ac26675f8775671184d05475d506c35802a4c2e58afcbd69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.0",
      "date": "2026-10-17T11:04:52.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/4321786e044e76b42df59221e8434a4ddd4de7dd4ed9918f32d820269c7568f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-10-17T10:59:57.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/8b2e71927588d78f8aaa2c1fead98bd1fd95cba5601f6d94d6f9435dd9fe3ab3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-10-17T10:59:31.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/2b3bb7f5d5464b596945dd41da0cb3c026d490fe56354feb7df980eef73e7a42",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.0",
      "date": "2026-10-17T10:59:37.000Z",
      "arch": "x86_64",
      "commit": "b7a2cbd750d27b8add11a0e3bd500dbfbd180336",
      "fileid": "https://r2.ropensci.org/d63efaae92fe56ea5a4578fe4117d9f24e92e442873ce93f9b84cfd93e560b9c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/39026693219"
    }
  ]
}