proxy_recrypt 1.1.4 copy "proxy_recrypt: ^1.1.4" to clipboard
proxy_recrypt: ^1.1.4 copied to clipboard

Proxy Re-Encryption (PRE) utilities for Dart enabling secure, server-mediated sharing of encrypted data without exposing plaintext.

release publish

recrypt #

Proxy Re-Encryption (PRE) utilities for Dart enabling secure, server-mediated sharing of encrypted data without exposing plaintext. This library lets a data owner encrypt content once, then delegate decryption rights to other parties via transformation (re-encryption) keys—without sharing private keys or re-encrypting the original data.

Use cases: #

  • End-to-end encrypted group or multi-recipient messaging
  • Zero-knowledge relay / brokered data exchange
  • Secure access delegation and revocation Core concepts:
  • Owner encrypts a symmetric content key under their public key
  • A transformation key (owner private key + recipient public key) lets an untrusted server convert the encrypted key for a recipient
  • Recipient uses their private key to recover the symmetric key and decrypt the content
  • Server never learns the plaintext or symmetric key

Benefits: #

  • Least-privilege server role
  • Scales better than encrypting separately for every recipient
  • Cryptographic separation of duties (encryption, transformation, decryption)
  • Ideal when you need brokered delivery (e.g. group chat) where the transport service must route but not read messages.

Attribution #

This Dart implementation was inspired by the original JavaScript proxy re-encryption implementation available at:

We acknowledge and appreciate the foundational work that guided our Dart port.

6
likes
150
points
1.47k
downloads

Publisher

verified publisheraffinidi.com

Weekly Downloads

Proxy Re-Encryption (PRE) utilities for Dart enabling secure, server-mediated sharing of encrypted data without exposing plaintext.

Repository (GitHub)
View/report issues
Contributing

Topics

#proxy-reencryption #experimental

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

convert, crypto, cryptography, pointycastle

More

Packages that depend on proxy_recrypt