Use a helper function in bakery_decrypt and bakery_encrypt

Created on 7 July 2014, almost 11 years ago
Updated 15 May 2025, 2 days ago

bakery_mix used to be tje unqiue function to perform crypt operations in Bakery. Recently, it has become two fucntions, bakery_decrypt and bakery_encrypt. This is good, because are easily to know how to use them than previous bakery_mix (it used a paramter to indicate which operation to perform).

But those functions have the same code except for one function call.

They should be wrappers around a helper function to makes the real work (more or less like the old bakery_mix buddy), so any changes in crypt operations is only done in one function, not in two.

Patch in progress.

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇪🇸Spain tunic Madrid

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024