git404hub

what is rfabe fr?

djs0618/rfabe — explained in plain English

Analysis updated 2026-05-18

18PythonAudience · researcherComplexity · 5/5Setup · hard

tl;dr

RFABE is a cloud-based medical records system where patient data is encrypted so only users whose job role or department matches the access policy can read it. Access can be revoked instantly when staff leave, without re-encrypting every file.

vibe map

mindmap
  root((repo))
    What It Does
      Encrypt medical records
      Role-based access
      Instant revocation
    User Roles
      Administrator
      Doctor
      Patient
    Tech Stack
      Vue.js frontend
      Spring Boot backend
      Python crypto layer
      Charm-Crypto
    Crypto Approach
      CP-ABE key policy
      AES bulk encryption
      Binary tree revocation

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Build a medical records portal where patients define access policies and doctors whose attributes match can automatically decrypt their records.

VIBE 2

Study CP-ABE (Ciphertext-Policy Attribute-Based Encryption) in a real healthcare context as an alternative to traditional permission tables.

VIBE 3

Test attribute-based revocation by removing a user's department assignment and verifying they can no longer access previously readable records.

VIBE 4

Use as a reference implementation for cloud storage systems where access must be expressible as policies over user attributes rather than fixed roles.

what's the stack?

PythonJavaSpring BootVue.jsCharm-Crypto

how it stacks up fr

djs0618/rfabeandyuneducated/resolve-aicarriex6/cvpr2026_similarity_as_evidence
Stars181818
LanguagePythonPythonPython
Setup difficultyhardhardhard
Complexity5/54/54/5
Audienceresearcherdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1day+

Requires GMP and PBC math libraries before the Python Charm-Crypto layer works, full stack has three separate components to run.

in plain english

RFABE (Revocable Fast Attribute-Based Encryption) is a cloud-based medical records system that controls who can read patient data using a form of cryptography that ties access rights to a person's attributes, such as their role or department, rather than to a traditional username and password. The README is written in Chinese. The core idea is that a patient's medical record is encrypted, and only users whose attributes match the access policy attached to that record can decrypt it. A doctor in the cardiology department, for example, could be granted access to cardiac records without needing someone to manually update a permission table. Patients themselves can set the access policy for their own records, deciding which roles or departments are allowed to view them. A key technical feature is user revocation: when a doctor leaves, their access can be removed immediately by issuing a key update rather than re-encrypting every file. This is handled through a binary tree structure built into the key management system. Under the hood, the encryption combines AES (a standard symmetric cipher for bulk data) with CP-ABE (Ciphertext-Policy Attribute-Based Encryption) for the keys, keeping performance practical. The system has three user roles: administrators who manage departments, schedules, and user accounts, doctors who write and read medical records, and patients who book appointments, view their records, and configure access policies. The frontend is built with Vue.js and the backend with Spring Boot (Java). The cryptographic layer is implemented in Python using the Charm-Crypto library, which requires the GMP and PBC mathematical libraries to be installed first. The README includes full setup instructions, default test accounts, and a link to download a pre-packaged 271 MB release archive.

prompts (copy fr)

prompt 1
I am running the RFABE system with Charm-Crypto on Python. Walk me through adding a new department attribute that doctors can be assigned to for access control.
prompt 2
In the RFABE Spring Boot backend, how does the binary tree structure let the system revoke a single doctor's access without re-encrypting patient records?
prompt 3
Explain how CP-ABE combines with AES in the RFABE architecture to keep encryption practical while supporting flexible attribute-based policies.
prompt 4
Help me set up the Charm-Crypto Python layer with GMP and PBC libraries on Ubuntu so I can run the RFABE cryptographic component.

Frequently asked questions

what is rfabe fr?

RFABE is a cloud-based medical records system where patient data is encrypted so only users whose job role or department matches the access policy can read it. Access can be revoked instantly when staff leave, without re-encrypting every file.

What language is rfabe written in?

Mainly Python. The stack also includes Python, Java, Spring Boot.

How hard is rfabe to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is rfabe for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.