Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: EME (ECB-Mix-ECB) #50

Open
itpropro opened this issue Jan 5, 2025 · 3 comments
Open

Feature request: EME (ECB-Mix-ECB) #50

itpropro opened this issue Jan 5, 2025 · 3 comments

Comments

@itpropro
Copy link

itpropro commented Jan 5, 2025

Hi,
thanks for your work on noble-ciphers, it is a fantastic library and in my opinion the best JS crypto implementations currently available.
Is there any chance you could add EME (ECB-Mix-ECB; https://github.com/rfjakob/eme) to the implemented encryption modes?

@paulmillr
Copy link
Owner

What do you need it for? Why is it useful?

@itpropro
Copy link
Author

itpropro commented Jan 5, 2025

There are some projects like gocryptfs (https://nuetzlich.net/gocryptfs/forward_mode_crypto/) that use EME for encryption of file and/or folder names for example. If you work on JS tooling that wants to be compatible to these solutions, EME would be needed.
As I or others would already be using noble libraries in such a scenario, it would help having a EME implementation done by someone who is as competent as you in implementing ciphers and hashes.
As far as I understand, as ECB is already implemented, it would be the mix between the two ECBs that is missing to get EME.

@timdream
Copy link

timdream commented Jan 6, 2025

rclone (also written in go) also happen to use EME for file/folder name encryption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants